Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.007457/0.007457, allocations: 99.39 kB / 15.73 MB, free: 5.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 194.7 kB / 16.67 MB, free: 5.5 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.338/2.338, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 71.84 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.7334, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1827/0.9162, allocations: 204.2 MB / 1.407 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008976/0.9252, allocations: 6.384 MB / 1.413 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.9262, allocations: 39.81 kB / 1.413 GB, free: 10.21 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.9279, allocations: 0.7265 MB / 1.414 GB, free: 9.477 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.9334, allocations: 2.672 MB / 1.416 GB, free: 6.793 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.9349, allocations: 0.7177 MB / 1.417 GB, free: 6.082 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003299/0.9382, allocations: 3.27 MB / 1.42 GB, free: 2.801 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.9394, allocations: 1.144 MB / 1.421 GB, free: 1.629 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.9411, allocations: 1.269 MB / 1.422 GB, free: 364 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.9428, allocations: 1.096 MB / 1.424 GB, free: 15.26 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.9429, allocations: 128 kB / 1.424 GB, free: 15.14 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003866/0.9468, allocations: 2.354 MB / 1.426 GB, free: 12.78 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004548/0.9473, allocations: 0.5143 MB / 1.426 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006988/0.948, allocations: 0.7352 MB / 1.427 GB, free: 11.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003408/0.9514, allocations: 2.797 MB / 1.43 GB, free: 8.719 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9514, allocations: 0 / 1.43 GB, free: 8.719 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9514, allocations: 7.938 kB / 1.43 GB, free: 8.711 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.9514, allocations: 0 / 1.43 GB, free: 8.711 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003422/0.9549, allocations: 1.765 MB / 1.432 GB, free: 6.891 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9549, allocations: 8.031 kB / 1.432 GB, free: 6.883 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.9551, allocations: 164.5 kB / 1.432 GB, free: 6.711 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.9571, allocations: 346.2 kB / 1.432 GB, free: 6.371 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.9585, allocations: 0.8779 MB / 1.433 GB, free: 5.449 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.9585, allocations: 78 kB / 1.433 GB, free: 5.371 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.9587, allocations: 103.9 kB / 1.433 GB, free: 5.27 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.9604, allocations: 1.191 MB / 1.434 GB, free: 4.047 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.9604, allocations: 4 kB / 1.434 GB, free: 4.043 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/0.9605, allocations: 36 kB / 1.434 GB, free: 4.008 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.9606, allocations: 62.06 kB / 1.434 GB, free: 3.945 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.9623, allocations: 1.25 MB / 1.436 GB, free: 2.688 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005603/0.9679, allocations: 5.106 MB / 1.441 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.9693, allocations: 1.151 MB / 1.442 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.9699, allocations: 0.5128 MB / 1.442 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 5.535e-05/0.97, allocations: 12.66 kB / 1.442 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006581/0.9707, allocations: 488.2 kB / 1.443 GB, free: 10.87 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/0.9707, allocations: 0 / 1.443 GB, free: 10.87 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.001744/0.9724, allocations: 1.161 MB / 1.444 GB, free: 9.703 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.9725, allocations: 60.06 kB / 1.444 GB, free: 9.633 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.973, allocations: 0.5744 MB / 1.444 GB, free: 9.043 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.9731, allocations: 45.7 kB / 1.445 GB, free: 8.992 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.9734, allocations: 463.8 kB / 1.445 GB, free: 8.531 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.9736, allocations: 268.1 kB / 1.445 GB, free: 8.266 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.9738, allocations: 130.6 kB / 1.445 GB, free: 8.133 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9739, allocations: 386.8 kB / 1.446 GB, free: 7.746 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.9744, allocations: 329.8 kB / 1.446 GB, free: 7.426 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.9749, allocations: 452.7 kB / 1.446 GB, free: 6.949 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.9759, allocations: 0.8232 MB / 1.447 GB, free: 6.09 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9759, allocations: 0 / 1.447 GB, free: 6.09 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001218/0.9771, allocations: 0.9335 MB / 1.448 GB, free: 5.148 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9772, allocations: 7.938 kB / 1.448 GB, free: 5.141 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.9772, allocations: 4 kB / 1.448 GB, free: 5.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9772, allocations: 4 kB / 1.448 GB, free: 5.133 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.9778, allocations: 160.1 kB / 1.448 GB, free: 4.977 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.9779, allocations: 11.94 kB / 1.448 GB, free: 4.965 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.9785, allocations: 63.31 kB / 1.448 GB, free: 4.902 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.9786, allocations: 28 kB / 1.448 GB, free: 4.875 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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 0.0003664/0.9789, allocations: 326.9 kB / 1.449 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.979, allocations: 90.98 kB / 1.449 GB, free: 4.457 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.9792, allocations: 103.8 kB / 1.449 GB, free: 4.344 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.9792, allocations: 8 kB / 1.449 GB, free: 4.336 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9793, allocations: 0 / 1.449 GB, free: 4.336 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/0.9804, allocations: 1.089 MB / 1.45 GB, free: 3.16 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.9833, allocations: 2.31 MB / 1.452 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.9833, allocations: 0 / 1.452 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.9841, allocations: 171.8 kB / 1.452 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.9841, allocations: 4 kB / 1.452 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.9841, allocations: 20 kB / 1.452 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9841, allocations: 4.031 kB / 1.452 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9841, allocations: 7.938 kB / 1.452 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.9858, allocations: 1.351 MB / 1.454 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.9862, allocations: 256 kB / 1.454 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.9863, allocations: 16 kB / 1.454 GB, free: 14.9 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/0.9868, allocations: 19.98 kB / 1.454 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.9869, allocations: 44.59 kB / 1.454 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.987, allocations: 24 kB / 1.454 GB, free: 14.82 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004105/0.9874, allocations: 419 kB / 1.455 GB, free: 14.41 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9874, allocations: 0 / 1.455 GB, free: 14.41 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007636/0.9882, allocations: 367.1 kB / 1.455 GB, free: 14.05 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.001988/0.9902, allocations: 1.977 MB / 1.457 GB, free: 12.05 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.9912, allocations: 0.8058 MB / 1.458 GB, free: 11.24 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9913, allocations: 0 / 1.458 GB, free: 11.24 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.9918, allocations: 423.5 kB / 1.458 GB, free: 10.82 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.9942, allocations: 0.5966 MB / 1.459 GB, free: 10.24 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008318/1.002, allocations: 7.233 MB / 1.466 GB, free: 2.84 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/1.003, allocations: 1.147 MB / 1.467 GB, free: 1.664 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007762/1.004, allocations: 275.1 kB / 1.467 GB, free: 1.391 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/1.004, allocations: 379.3 kB / 1.467 GB, free: 1.02 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/1.004, allocations: 4 kB / 1.467 GB, free: 1.016 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/1.049, allocations: 26.34 MB / 1.493 GB, free: 6.992 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.68/9.729, allocations: 8 kB / 1.493 GB, free: 6.984 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches