Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4857, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001754/0.4875, allocations: 1.225 MB / 0.9509 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007663/0.4883, allocations: 0.7039 MB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.4883, allocations: 0 / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.4883, allocations: 3.938 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.4884, allocations: 1.844 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.4886, allocations: 88.56 kB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.585e-05/0.4887, allocations: 16.16 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.4887, allocations: 9.266 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.4888, allocations: 11.58 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.4888, allocations: 2.688 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.4888, allocations: 0 / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.4891, allocations: 138.2 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.4891, allocations: 0 / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.4891, allocations: 9.234 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.4892, allocations: 75 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4892, allocations: 0 / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4892, allocations: 4 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.4893, allocations: 0 / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002177/0.4895, allocations: 335 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.4895, allocations: 9.719 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.718e-05/0.4895, allocations: 30.75 kB / 0.9523 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.819e-05/0.4896, allocations: 6.469 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.088e-05/0.4896, allocations: 168.3 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.4896, allocations: 1.75 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.4896, allocations: 5.25 kB / 0.9525 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.135e-05/0.4897, allocations: 36.7 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.4897, allocations: 3.938 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.4897, allocations: 3.984 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.4897, allocations: 0.7188 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.4898, allocations: 2.875 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.489e-05/0.4898, allocations: 153.1 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.4899, allocations: 31.36 kB / 0.9527 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.4899, allocations: 11.45 kB / 0.9527 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.4902, allocations: 418.3 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.4902, allocations: 30.56 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4902, allocations: 0 / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 9.704e-05/0.4903, allocations: 43.94 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.257e-05/0.4903, allocations: 51.41 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.103e-05/0.4904, allocations: 96.45 kB / 0.9533 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-06/0.4904, allocations: 26.92 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.038e-05/0.4904, allocations: 84.14 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.4904, allocations: 5.156 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.4904, allocations: 16.14 kB / 0.9535 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.102e-05/0.4905, allocations: 312.4 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.4905, allocations: 5.094 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.4905, allocations: 10.56 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.4905, allocations: 10.14 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4905, allocations: 0 / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.642e-05/0.4906, allocations: 45.34 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.4906, allocations: 10.28 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4906, allocations: 4 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.4906, allocations: 0 / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.694e-05/0.4907, allocations: 3.906 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.4907, allocations: 0 / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.127e-05/0.4907, allocations: 4.094 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-06/0.4907, allocations: 1.312 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.4907, allocations: 115.2 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.4907, allocations: 5.125 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.4908, allocations: 44.41 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.4908, allocations: 1.062 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.4908, allocations: 0 / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4908, allocations: 0 / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.422e-05/0.4909, allocations: 160.5 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4909, allocations: 5.594 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.4909, allocations: 3.031 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4909, allocations: 0 / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.4909, allocations: 0 / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4909, allocations: 1.281 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4909, allocations: 0 / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.834e-05/0.491, allocations: 70.41 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.491, allocations: 81.14 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.491, allocations: 1.188 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-06/0.491, allocations: 0 / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-06/0.491, allocations: 1.656 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.491, allocations: 1.406 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.393e-05/0.4911, allocations: 80.92 kB / 0.9544 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4911, allocations: 0 / 0.9544 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001936/0.4913, allocations: 23.91 kB / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/0.4915, allocations: 0.6335 MB / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.496e-05/0.4916, allocations: 11.03 kB / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4916, allocations: 0 / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.4916, allocations: 7.922 kB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.4917, allocations: 3.984 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.492, allocations: 133.8 kB / 0.9552 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.492, allocations: 0.6794 MB / 0.9558 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.44e-05/0.4921, allocations: 5.484 kB / 0.9558 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.4921, allocations: 8.812 kB / 0.9559 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.4921, allocations: 0 / 0.9559 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.5074, allocations: 1.498 MB / 0.9573 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.523/7.031, allocations: 14.38 kB / 0.9573 GB, free: 2.254 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches