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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 193.7 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: 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 0.001972/0.001972, allocations: 67.89 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6749/0.6769, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2344/0.9112, allocations: 205.3 MB / 1.475 GB, free: 6.445 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.9221, allocations: 6.405 MB / 1.481 GB, free: 28 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.9233, allocations: 35.86 kB / 1.481 GB, free: 15.99 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.9253, allocations: 0.7615 MB / 1.482 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006811/0.9321, allocations: 2.773 MB / 1.484 GB, free: 12.45 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001837/0.9339, allocations: 0.7315 MB / 1.485 GB, free: 11.71 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004435/0.9383, allocations: 3.286 MB / 1.488 GB, free: 8.418 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.9398, allocations: 0.8165 MB / 1.489 GB, free: 7.586 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.9423, allocations: 1.296 MB / 1.49 GB, free: 6.285 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.9449, allocations: 1.164 MB / 1.491 GB, free: 5.121 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.9452, allocations: 128 kB / 1.492 GB, free: 4.996 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005022/0.9503, allocations: 2.509 MB / 1.494 GB, free: 2.48 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007475/0.951, allocations: 0.5375 MB / 1.495 GB, free: 1.941 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.9523, allocations: 0.7314 MB / 1.495 GB, free: 1.207 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004939/0.9572, allocations: 2.812 MB / 1.498 GB, free: 14.39 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9572, allocations: 0 / 1.498 GB, free: 14.39 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9572, allocations: 0 / 1.498 GB, free: 14.39 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.264e-05/0.9573, allocations: 0 / 1.498 GB, free: 14.39 MB / 1.201 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.004556/0.9619, allocations: 1.805 MB / 1.5 GB, free: 12.52 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.9619, allocations: 8.031 kB / 1.5 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.9642, allocations: 354.9 kB / 1.5 GB, free: 12.17 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.9659, allocations: 0.8901 MB / 1.501 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/0.966, allocations: 78.02 kB / 1.501 GB, free: 11.15 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.9661, allocations: 108 kB / 1.501 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.9682, allocations: 1.183 MB / 1.502 GB, free: 9.832 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.9682, allocations: 0 / 1.502 GB, free: 9.832 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.9683, allocations: 47.98 kB / 1.502 GB, free: 9.785 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.647e-05/0.9684, allocations: 58.06 kB / 1.502 GB, free: 9.727 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.9705, allocations: 1.25 MB / 1.504 GB, free: 8.469 MB / 1.201 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.007227/0.9777, allocations: 5.11 MB / 1.509 GB, free: 2.898 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.9794, allocations: 1.138 MB / 1.51 GB, free: 1.684 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.9802, allocations: 489.2 kB / 1.51 GB, free: 1.203 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.745e-05/0.9803, allocations: 12.8 kB / 1.51 GB, free: 1.188 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007936/0.9811, allocations: 488.2 kB / 1.511 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 2.415e-06/0.9811, allocations: 0 / 1.511 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.002169/0.9832, allocations: 1.165 MB / 1.512 GB, free: 15.53 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.9833, allocations: 64.05 kB / 1.512 GB, free: 15.45 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.984, allocations: 0.5783 MB / 1.512 GB, free: 14.87 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.918e-05/0.9841, allocations: 41.7 kB / 1.512 GB, free: 14.82 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.9845, allocations: 464.7 kB / 1.513 GB, free: 14.36 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.9848, allocations: 285.5 kB / 1.513 GB, free: 14.08 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.985, allocations: 130.6 kB / 1.513 GB, free: 13.95 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.9852, allocations: 390.8 kB / 1.514 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.9857, allocations: 333.8 kB / 1.514 GB, free: 13.23 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.9864, allocations: 444.8 kB / 1.514 GB, free: 12.76 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.9876, allocations: 0.8271 MB / 1.515 GB, free: 11.89 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.9876, allocations: 0 / 1.515 GB, free: 11.89 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001497/0.9891, allocations: 0.9339 MB / 1.516 GB, free: 10.95 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9891, allocations: 6.375 kB / 1.516 GB, free: 10.95 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9891, allocations: 11.94 kB / 1.516 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9892, allocations: 4 kB / 1.516 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.9899, allocations: 159.7 kB / 1.516 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.9899, allocations: 7.984 kB / 1.516 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.9906, allocations: 63.52 kB / 1.516 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.9907, allocations: 24 kB / 1.516 GB, free: 10.68 MB / 1.217 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.0004933/0.9912, allocations: 329.6 kB / 1.517 GB, free: 10.35 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.9913, allocations: 87.52 kB / 1.517 GB, free: 10.26 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.9916, allocations: 115.7 kB / 1.517 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.9916, allocations: 8 kB / 1.517 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9916, allocations: 3.938 kB / 1.517 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/0.993, allocations: 1.089 MB / 1.518 GB, free: 8.961 MB / 1.217 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.003545/0.9965, allocations: 2.307 MB / 1.52 GB, free: 6.555 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.9965, allocations: 0 / 1.52 GB, free: 6.555 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/0.9974, allocations: 171.9 kB / 1.52 GB, free: 6.387 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.9974, allocations: 4 kB / 1.52 GB, free: 6.383 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.9975, allocations: 27.92 kB / 1.52 GB, free: 6.355 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.9975, allocations: 0 / 1.52 GB, free: 6.355 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9975, allocations: 8 kB / 1.52 GB, free: 6.348 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.9995, allocations: 1.356 MB / 1.522 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/1, allocations: 264.4 kB / 1.522 GB, free: 4.695 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1, allocations: 12 kB / 1.522 GB, free: 4.684 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/1.001, allocations: 20 kB / 1.522 GB, free: 4.664 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/1.001, allocations: 40.59 kB / 1.522 GB, free: 4.625 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/1.001, allocations: 31.98 kB / 1.522 GB, free: 4.594 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005347/1.001, allocations: 415 kB / 1.523 GB, free: 4.191 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.41e-07/1.001, allocations: 0 / 1.523 GB, free: 4.191 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008781/1.002, allocations: 375.2 kB / 1.523 GB, free: 3.824 MB / 1.217 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.0002889/1.003, allocations: 179.1 kB / 1.523 GB, free: 3.641 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001246/1.004, allocations: 0.763 MB / 1.524 GB, free: 2.875 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.004, allocations: 4 kB / 1.524 GB, free: 2.871 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005914/1.004, allocations: 411.5 kB / 1.524 GB, free: 2.473 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.007, allocations: 0.5869 MB / 1.525 GB, free: 1.898 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.011, allocations: 2.201 MB / 1.527 GB, free: 15.66 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/1.011, allocations: 1.139 MB / 1.528 GB, free: 14.49 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008095/1.012, allocations: 279.1 kB / 1.528 GB, free: 14.21 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/1.012, allocations: 71.42 kB / 1.528 GB, free: 14.15 MB / 1.232 GB Notification: Performance of SimCode: time 4.9e-07/1.012, allocations: 0 / 1.528 GB, free: 14.15 MB / 1.232 GB Notification: Performance of Templates: time 0.03335/1.046, allocations: 19.65 MB / 1.548 GB, free: 10.73 MB / 1.248 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.182130638044327]