Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 79.86 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 163.5 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.738/2.738, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.672e-05, allocations: 4.953 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6998/0.6999, allocations: 180.6 MB / 1.127 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.7109, allocations: 5.998 MB / 1.133 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.7122, allocations: 47.38 kB / 1.133 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.714, allocations: 0.6985 MB / 1.134 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007263/0.7212, allocations: 2.871 MB / 1.137 GB, free: 12.12 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.001879/0.7231, allocations: 0.7389 MB / 1.137 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004279/0.7274, allocations: 3.39 MB / 1.141 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.7287, allocations: 0.817 MB / 1.141 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.7314, allocations: 1.703 MB / 1.143 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.7336, allocations: 1.046 MB / 1.144 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.7339, allocations: 127.1 kB / 1.144 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004555/0.7384, allocations: 1.952 MB / 1.146 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007344/0.7391, allocations: 0.5617 MB / 1.147 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009176/0.7401, allocations: 0.5459 MB / 1.147 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004877/0.7449, allocations: 2.814 MB / 1.15 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7449, allocations: 0 / 1.15 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7449, allocations: 1.125 kB / 1.15 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.584e-05/0.745, allocations: 0 / 1.15 GB, free: 10.58 MB / 0.9981 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.004121/0.7491, allocations: 1.726 MB / 1.152 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7491, allocations: 9.719 kB / 1.152 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.7514, allocations: 356.5 kB / 1.152 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7529, allocations: 0.8059 MB / 1.153 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.7529, allocations: 76.92 kB / 1.153 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.7531, allocations: 102.2 kB / 1.153 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.7551, allocations: 1.395 MB / 1.154 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.7551, allocations: 0 / 1.154 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.7553, allocations: 47.12 kB / 1.154 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-05/0.7553, allocations: 62.64 kB / 1.154 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.7573, allocations: 1.238 MB / 1.156 GB, free: 9.109 MB / 0.9981 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.005462/0.7627, allocations: 2.969 MB / 1.159 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.7641, allocations: 0.8315 MB / 1.159 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/0.7648, allocations: 486.2 kB / 1.16 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.7649, allocations: 13.27 kB / 1.16 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007545/0.7656, allocations: 0.6797 MB / 1.161 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.247e-06/0.7656, allocations: 0 / 1.161 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.002018/0.7676, allocations: 1.156 MB / 1.162 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.7677, allocations: 60.84 kB / 1.162 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.7683, allocations: 0.5094 MB / 1.162 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.7683, allocations: 39.64 kB / 1.162 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.7685, allocations: 472.6 kB / 1.163 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.7687, allocations: 284.1 kB / 1.163 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.7689, allocations: 127.7 kB / 1.163 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.769, allocations: 383.1 kB / 1.163 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.7695, allocations: 330.5 kB / 1.164 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.77, allocations: 450.3 kB / 1.164 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.771, allocations: 0.8255 MB / 1.165 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.7711, allocations: 6.344 kB / 1.165 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00133/0.7724, allocations: 0.9255 MB / 1.166 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7724, allocations: 7.5 kB / 1.166 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7724, allocations: 2.75 kB / 1.166 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.7724, allocations: 10.69 kB / 1.166 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.7731, allocations: 156.2 kB / 1.166 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.7731, allocations: 6.688 kB / 1.166 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.7739, allocations: 61.47 kB / 1.166 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.774, allocations: 26 kB / 1.166 GB, free: 6.898 MB / 0.9981 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.0004665/0.7744, allocations: 334.8 kB / 1.167 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.7746, allocations: 78.47 kB / 1.167 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.7748, allocations: 106.1 kB / 1.167 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.7748, allocations: 7.625 kB / 1.167 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.7748, allocations: 0.9688 kB / 1.167 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001122/0.7759, allocations: 1.09 MB / 1.168 GB, free: 5.973 MB / 0.9981 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.002663/0.7786, allocations: 1.895 MB / 1.17 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.7786, allocations: 0 / 1.17 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008328/0.7794, allocations: 180.5 kB / 1.17 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.7794, allocations: 2.5 kB / 1.17 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.7795, allocations: 20.95 kB / 1.17 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.7795, allocations: 7.688 kB / 1.17 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7795, allocations: 5.062 kB / 1.17 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.7811, allocations: 1.346 MB / 1.171 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.7815, allocations: 179.5 kB / 1.171 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.7816, allocations: 20.03 kB / 1.171 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/0.7822, allocations: 25.66 kB / 1.171 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.7824, allocations: 48.59 kB / 1.171 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.7824, allocations: 24.33 kB / 1.171 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003869/0.7828, allocations: 358.3 kB / 1.172 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7828, allocations: 0.875 kB / 1.172 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009764/0.7838, allocations: 379.4 kB / 1.172 GB, free: 4.031 MB / 0.9981 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.0002713/0.7841, allocations: 179.5 kB / 1.172 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.7851, allocations: 0.7632 MB / 1.173 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7851, allocations: 1.031 kB / 1.173 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.7855, allocations: 412 kB / 1.173 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.7879, allocations: 0.5413 MB / 1.174 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.7906, allocations: 2.043 MB / 1.176 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.7911, allocations: 0.5413 MB / 1.177 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007618/0.7918, allocations: 265.4 kB / 1.177 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.7921, allocations: 73.98 kB / 1.177 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.183e-06/0.7921, allocations: 0 / 1.177 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.02705/0.8191, allocations: 18.32 MB / 1.195 GB, free: 14.11 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.069061409682035]