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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 107.6 kB / 17.07 MB, free: 6.082 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.001958/0.001958, allocations: 190.2 kB / 20.02 MB, free: 3.168 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.583/1.583, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 72.12 kB / 1.103 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276/1.278, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3019/1.58, allocations: 204.2 MB / 1.462 GB, free: 11.88 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01292/1.593, allocations: 6.376 MB / 1.468 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/1.596, allocations: 39.81 kB / 1.468 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/1.598, allocations: 0.7265 MB / 1.469 GB, free: 4.715 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008472/1.606, allocations: 2.68 MB / 1.472 GB, free: 2.023 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002236/1.609, allocations: 0.7167 MB / 1.472 GB, free: 1.316 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005438/1.614, allocations: 3.27 MB / 1.475 GB, free: 14.04 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/1.616, allocations: 1.137 MB / 1.477 GB, free: 12.88 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/1.619, allocations: 1.374 MB / 1.478 GB, free: 11.5 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/1.622, allocations: 1.08 MB / 1.479 GB, free: 10.42 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/1.623, allocations: 128 kB / 1.479 GB, free: 10.29 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005804/1.628, allocations: 2.354 MB / 1.481 GB, free: 7.934 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007512/1.629, allocations: 0.5104 MB / 1.482 GB, free: 7.422 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/1.631, allocations: 0.743 MB / 1.483 GB, free: 6.676 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006017/1.637, allocations: 2.807 MB / 1.485 GB, free: 3.863 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.637, allocations: 4 kB / 1.485 GB, free: 3.859 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.385e-06/1.637, allocations: 3.938 kB / 1.485 GB, free: 3.855 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.656e-05/1.637, allocations: 0 / 1.485 GB, free: 3.855 MB / 1.17 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.004415/1.641, allocations: 1.802 MB / 1.487 GB, free: 1.996 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.641, allocations: 8.031 kB / 1.487 GB, free: 1.988 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/1.643, allocations: 362.8 kB / 1.487 GB, free: 1.633 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/1.645, allocations: 0.8785 MB / 1.488 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/1.645, allocations: 74 kB / 1.488 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/1.645, allocations: 100 kB / 1.489 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/1.647, allocations: 1.195 MB / 1.49 GB, free: 15.31 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/1.647, allocations: 4 kB / 1.49 GB, free: 15.31 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.647, allocations: 44 kB / 1.49 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.335e-05/1.648, allocations: 58.08 kB / 1.49 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/1.65, allocations: 1.246 MB / 1.491 GB, free: 13.95 MB / 1.186 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.00788/1.658, allocations: 5.264 MB / 1.496 GB, free: 8.191 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/1.659, allocations: 1.16 MB / 1.497 GB, free: 6.949 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/1.66, allocations: 0.5051 MB / 1.498 GB, free: 6.441 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/1.66, allocations: 16.66 kB / 1.498 GB, free: 6.422 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/1.661, allocations: 492.2 kB / 1.498 GB, free: 5.93 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/1.661, allocations: 0 / 1.498 GB, free: 5.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.00232/1.663, allocations: 1.157 MB / 1.499 GB, free: 4.766 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.663, allocations: 60.06 kB / 1.499 GB, free: 4.695 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/1.664, allocations: 0.5822 MB / 1.5 GB, free: 4.105 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/1.664, allocations: 45.7 kB / 1.5 GB, free: 4.055 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/1.665, allocations: 468.8 kB / 1.5 GB, free: 3.59 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/1.665, allocations: 277.5 kB / 1.501 GB, free: 3.316 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/1.665, allocations: 134.6 kB / 1.501 GB, free: 3.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002605/1.666, allocations: 382.8 kB / 1.501 GB, free: 2.797 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/1.666, allocations: 329.8 kB / 1.502 GB, free: 2.473 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/1.667, allocations: 456.7 kB / 1.502 GB, free: 1.992 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.668, allocations: 0.8232 MB / 1.503 GB, free: 1.133 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.668, allocations: 0 / 1.503 GB, free: 1.133 MB / 1.186 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001751/1.67, allocations: 0.9339 MB / 1.504 GB, free: 196 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.67, allocations: 8 kB / 1.504 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.67, allocations: 7.938 kB / 1.504 GB, free: 180 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.67, allocations: 4 kB / 1.504 GB, free: 176 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/1.671, allocations: 155.8 kB / 1.504 GB, free: 20 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.15e-05/1.671, allocations: 8.328 kB / 1.504 GB, free: 12 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/1.672, allocations: 67.56 kB / 1.504 GB, free: 15.94 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/1.672, allocations: 35.94 kB / 1.504 GB, free: 15.91 MB / 1.201 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.0008065/1.673, allocations: 325.6 kB / 1.504 GB, free: 15.58 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.673, allocations: 91.41 kB / 1.504 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/1.673, allocations: 111.7 kB / 1.504 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.673, allocations: 4 kB / 1.504 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/1.673, allocations: 11.92 kB / 1.505 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/1.675, allocations: 1.085 MB / 1.506 GB, free: 14.19 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 postOpt removeSimpleEquations (simulation): time 0.004136/1.679, allocations: 2.314 MB / 1.508 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.679, allocations: 0 / 1.508 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/1.68, allocations: 167.8 kB / 1.508 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/1.68, allocations: 4 kB / 1.508 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/1.68, allocations: 23.92 kB / 1.508 GB, free: 11.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.68, allocations: 8.031 kB / 1.508 GB, free: 11.59 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.68, allocations: 0 / 1.508 GB, free: 11.59 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/1.682, allocations: 1.352 MB / 1.509 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/1.683, allocations: 256.5 kB / 1.51 GB, free: 9.945 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/1.683, allocations: 19.98 kB / 1.51 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/1.684, allocations: 18.06 kB / 1.51 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.684, allocations: 44.59 kB / 1.51 GB, free: 9.867 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/1.684, allocations: 27.98 kB / 1.51 GB, free: 9.84 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006837/1.685, allocations: 415 kB / 1.51 GB, free: 9.438 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.516e-06/1.685, allocations: 0 / 1.51 GB, free: 9.438 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001273/1.686, allocations: 383.2 kB / 1.51 GB, free: 9.062 MB / 1.201 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.0004401/1.686, allocations: 180 kB / 1.511 GB, free: 8.883 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00144/1.688, allocations: 0.8019 MB / 1.511 GB, free: 8.078 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.688, allocations: 0.6875 kB / 1.511 GB, free: 8.078 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/1.688, allocations: 423.5 kB / 1.512 GB, free: 7.668 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.691, allocations: 0.5942 MB / 1.512 GB, free: 7.086 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/1.695, allocations: 2.272 MB / 1.515 GB, free: 4.77 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009251/1.696, allocations: 1.139 MB / 1.516 GB, free: 3.602 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/1.696, allocations: 79.44 kB / 1.516 GB, free: 3.527 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/1.696, allocations: 0 / 1.516 GB, free: 3.527 MB / 1.201 GB Notification: Performance of Templates: time 0.02772/1.724, allocations: 15.84 MB / 1.531 GB, free: 3.777 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.451528080971912]