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: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001152/0.001152, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.411/2.411, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7138/0.715, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1929/0.9079, allocations: 204.2 MB / 1.408 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.9185, allocations: 6.383 MB / 1.414 GB, free: 10.28 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.9199, allocations: 35.81 kB / 1.414 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.9219, allocations: 0.7304 MB / 1.415 GB, free: 9.512 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.9281, allocations: 2.664 MB / 1.417 GB, free: 6.836 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.001772/0.9299, allocations: 0.7237 MB / 1.418 GB, free: 6.117 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.9339, allocations: 3.27 MB / 1.421 GB, free: 2.836 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.9356, allocations: 1.137 MB / 1.422 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.9379, allocations: 1.273 MB / 1.424 GB, free: 404 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.9402, allocations: 1.1 MB / 1.425 GB, free: 15.3 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000325/0.9405, allocations: 128 kB / 1.425 GB, free: 15.17 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.9447, allocations: 2.354 MB / 1.427 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006726/0.9454, allocations: 0.5182 MB / 1.428 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.9468, allocations: 0.7391 MB / 1.428 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004505/0.9513, allocations: 2.789 MB / 1.431 GB, free: 8.754 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.9513, allocations: 0 / 1.431 GB, free: 8.754 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9513, allocations: 0 / 1.431 GB, free: 8.754 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.65e-05/0.9514, allocations: 0 / 1.431 GB, free: 8.754 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.004172/0.9556, allocations: 1.771 MB / 1.433 GB, free: 6.93 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.9556, allocations: 12.03 kB / 1.433 GB, free: 6.918 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.9578, allocations: 346.2 kB / 1.433 GB, free: 6.578 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.959, allocations: 0.8778 MB / 1.434 GB, free: 5.656 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.9591, allocations: 85.94 kB / 1.434 GB, free: 5.57 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.9592, allocations: 100 kB / 1.434 GB, free: 5.473 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.961, allocations: 1.187 MB / 1.435 GB, free: 4.254 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.961, allocations: 4 kB / 1.435 GB, free: 4.25 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/0.9611, allocations: 43.98 kB / 1.435 GB, free: 4.207 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-05/0.9612, allocations: 62.06 kB / 1.435 GB, free: 4.145 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.9629, allocations: 1.246 MB / 1.437 GB, free: 2.891 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.005386/0.9683, allocations: 5.097 MB / 1.442 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.9696, allocations: 1.151 MB / 1.443 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.9702, allocations: 0.5051 MB / 1.443 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.9703, allocations: 16.8 kB / 1.443 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006471/0.9709, allocations: 496.1 kB / 1.444 GB, free: 11.08 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 4.479e-06/0.971, allocations: 0 / 1.444 GB, free: 11.08 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.001731/0.9727, allocations: 1.161 MB / 1.445 GB, free: 9.914 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.9727, allocations: 64.06 kB / 1.445 GB, free: 9.84 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.9733, allocations: 0.5744 MB / 1.445 GB, free: 9.258 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.9734, allocations: 41.7 kB / 1.446 GB, free: 9.211 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.9736, allocations: 463.5 kB / 1.446 GB, free: 8.75 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.9738, allocations: 272.1 kB / 1.446 GB, free: 8.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.974, allocations: 126.6 kB / 1.446 GB, free: 8.352 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9742, allocations: 386.8 kB / 1.447 GB, free: 7.965 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.9746, allocations: 333.8 kB / 1.447 GB, free: 7.641 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.9751, allocations: 444.8 kB / 1.447 GB, free: 7.172 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.9761, allocations: 0.8271 MB / 1.448 GB, free: 6.309 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9762, allocations: 0 / 1.448 GB, free: 6.309 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001199/0.9774, allocations: 0.9296 MB / 1.449 GB, free: 5.371 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9774, allocations: 11.94 kB / 1.449 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9774, allocations: 352 / 1.449 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.9774, allocations: 15.98 kB / 1.449 GB, free: 5.344 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.9781, allocations: 151.8 kB / 1.449 GB, free: 5.195 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.9781, allocations: 11.94 kB / 1.449 GB, free: 5.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.9787, allocations: 55.38 kB / 1.449 GB, free: 5.129 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.9788, allocations: 24 kB / 1.449 GB, free: 5.105 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.0003692/0.9791, allocations: 334.9 kB / 1.45 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.9793, allocations: 87 kB / 1.45 GB, free: 4.684 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.9795, allocations: 107.8 kB / 1.45 GB, free: 4.566 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.9795, allocations: 12 kB / 1.45 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.9795, allocations: 0 / 1.45 GB, free: 4.555 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.9806, allocations: 1.093 MB / 1.451 GB, free: 3.375 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.002614/0.9833, allocations: 2.303 MB / 1.453 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9833, allocations: 4 kB / 1.453 GB, free: 0.9805 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/0.9841, allocations: 175.8 kB / 1.453 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9841, allocations: 4 kB / 1.453 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.9841, allocations: 16 kB / 1.453 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.9841, allocations: 4 kB / 1.453 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9841, allocations: 0 / 1.453 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.9857, allocations: 1.355 MB / 1.455 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.986, allocations: 256 kB / 1.455 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.9862, allocations: 16 kB / 1.455 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.9867, allocations: 23.98 kB / 1.455 GB, free: 15.1 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.9868, allocations: 44.59 kB / 1.455 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.9869, allocations: 24 kB / 1.455 GB, free: 15.03 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004084/0.9873, allocations: 419 kB / 1.456 GB, free: 14.63 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9873, allocations: 3.938 kB / 1.456 GB, free: 14.62 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007445/0.9881, allocations: 363.1 kB / 1.456 GB, free: 14.27 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.0002432/0.9883, allocations: 183 kB / 1.456 GB, free: 14.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.9893, allocations: 0.8062 MB / 1.457 GB, free: 13.28 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9894, allocations: 0 / 1.457 GB, free: 13.28 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.9898, allocations: 431.5 kB / 1.457 GB, free: 12.86 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.9922, allocations: 0.5838 MB / 1.458 GB, free: 12.28 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.995, allocations: 2.228 MB / 1.46 GB, free: 10.01 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.9956, allocations: 1.14 MB / 1.461 GB, free: 8.848 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.9959, allocations: 79.42 kB / 1.461 GB, free: 8.77 MB / 1.186 GB Notification: Performance of SimCode: time 1.562e-06/0.9959, allocations: 4 kB / 1.461 GB, free: 8.766 MB / 1.186 GB Notification: Performance of Templates: time 0.01808/1.014, allocations: 15.84 MB / 1.477 GB, free: 9.023 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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