Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001734/0.001734, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001974/0.001974, allocations: 220.4 kB / 23.01 MB, free: 4.609 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.61/1.61, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.322/3.322, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 65.45 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4882, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2708/0.759, allocations: 208.4 MB / 1.531 GB, free: 328 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.7717, allocations: 6.409 MB / 1.537 GB, free: 9.895 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.774, allocations: 51.62 kB / 1.537 GB, free: 9.844 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.7764, allocations: 0.785 MB / 1.538 GB, free: 9.055 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.008979/0.7854, allocations: 2.82 MB / 1.54 GB, free: 6.223 MB / 1.233 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002537/0.7879, allocations: 0.7372 MB / 1.541 GB, free: 5.488 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.006041/0.7939, allocations: 3.361 MB / 1.544 GB, free: 2.113 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.7956, allocations: 0.8208 MB / 1.545 GB, free: 1.266 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003834/0.7994, allocations: 1.417 MB / 1.547 GB, free: 15.84 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.8026, allocations: 1.153 MB / 1.548 GB, free: 14.69 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.8029, allocations: 128 kB / 1.548 GB, free: 14.57 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006239/0.8091, allocations: 2.552 MB / 1.55 GB, free: 12.01 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007662/0.8099, allocations: 0.5297 MB / 1.551 GB, free: 11.48 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.8112, allocations: 0.7391 MB / 1.552 GB, free: 10.73 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.8169, allocations: 2.812 MB / 1.554 GB, free: 7.914 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.8169, allocations: 4 kB / 1.554 GB, free: 7.91 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8169, allocations: 0 / 1.554 GB, free: 7.91 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.8169, allocations: 0 / 1.554 GB, free: 7.91 MB / 1.248 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.004444/0.8214, allocations: 1.738 MB / 1.556 GB, free: 6.133 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.8214, allocations: 8.031 kB / 1.556 GB, free: 6.125 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.8236, allocations: 350.9 kB / 1.556 GB, free: 5.781 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.8254, allocations: 0.818 MB / 1.557 GB, free: 4.93 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.8255, allocations: 70.02 kB / 1.557 GB, free: 4.859 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.8256, allocations: 104 kB / 1.557 GB, free: 4.758 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.8277, allocations: 1.191 MB / 1.559 GB, free: 3.535 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.8277, allocations: 0 / 1.559 GB, free: 3.535 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.8278, allocations: 40 kB / 1.559 GB, free: 3.496 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/0.8279, allocations: 62.06 kB / 1.559 GB, free: 3.434 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.8299, allocations: 1.246 MB / 1.56 GB, free: 2.18 MB / 1.248 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.007652/0.8375, allocations: 5.216 MB / 1.565 GB, free: 12.47 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.839, allocations: 0.8301 MB / 1.566 GB, free: 11.63 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007618/0.8398, allocations: 489.2 kB / 1.566 GB, free: 11.15 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 7.418e-05/0.8399, allocations: 20.8 kB / 1.566 GB, free: 11.13 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008176/0.8407, allocations: 488.2 kB / 1.567 GB, free: 10.64 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 3.426e-06/0.8407, allocations: 0 / 1.567 GB, free: 10.64 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002209/0.8429, allocations: 1.161 MB / 1.568 GB, free: 9.473 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.843, allocations: 64.05 kB / 1.568 GB, free: 9.398 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.8438, allocations: 0.5783 MB / 1.568 GB, free: 8.809 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.591e-05/0.8439, allocations: 41.7 kB / 1.568 GB, free: 8.762 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.8443, allocations: 468.6 kB / 1.569 GB, free: 8.297 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.8447, allocations: 277.5 kB / 1.569 GB, free: 8.023 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.8449, allocations: 130.7 kB / 1.569 GB, free: 7.891 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002398/0.8452, allocations: 382.8 kB / 1.57 GB, free: 7.508 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.8457, allocations: 329.8 kB / 1.57 GB, free: 7.188 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.8463, allocations: 452.7 kB / 1.57 GB, free: 6.711 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.8476, allocations: 0.835 MB / 1.571 GB, free: 5.836 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8476, allocations: 4 kB / 1.571 GB, free: 5.832 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001623/0.8492, allocations: 0.93 MB / 1.572 GB, free: 4.895 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.8492, allocations: 8 kB / 1.572 GB, free: 4.887 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.8492, allocations: 3.938 kB / 1.572 GB, free: 4.883 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.8493, allocations: 8 kB / 1.572 GB, free: 4.875 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.85, allocations: 160.1 kB / 1.572 GB, free: 4.719 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.85, allocations: 8 kB / 1.572 GB, free: 4.711 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.8508, allocations: 63.52 kB / 1.572 GB, free: 4.648 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.8509, allocations: 31.98 kB / 1.572 GB, free: 4.617 MB / 1.264 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.0007171/0.8516, allocations: 334.1 kB / 1.573 GB, free: 4.281 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.8518, allocations: 83.48 kB / 1.573 GB, free: 4.199 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.852, allocations: 111.7 kB / 1.573 GB, free: 4.082 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.852, allocations: 8 kB / 1.573 GB, free: 4.074 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.8521, allocations: 0 / 1.573 GB, free: 4.074 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.8535, allocations: 1.097 MB / 1.574 GB, free: 2.891 MB / 1.264 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.003774/0.8573, allocations: 2.275 MB / 1.576 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.8573, allocations: 0 / 1.576 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008345/0.8582, allocations: 179.8 kB / 1.576 GB, free: 372 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.8582, allocations: 0 / 1.576 GB, free: 372 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.8582, allocations: 23.97 kB / 1.576 GB, free: 348 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.8582, allocations: 4 kB / 1.576 GB, free: 344 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.8582, allocations: 3.984 kB / 1.576 GB, free: 340 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.8603, allocations: 1.36 MB / 1.578 GB, free: 14.95 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.8608, allocations: 179.3 kB / 1.578 GB, free: 14.77 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.8609, allocations: 20 kB / 1.578 GB, free: 14.75 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.8615, allocations: 21.86 kB / 1.578 GB, free: 14.73 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.8616, allocations: 56.5 kB / 1.578 GB, free: 14.68 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.8616, allocations: 20 kB / 1.578 GB, free: 14.66 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0005692/0.8622, allocations: 415 kB / 1.578 GB, free: 14.25 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.8622, allocations: 0 / 1.578 GB, free: 14.25 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001076/0.8633, allocations: 371.2 kB / 1.579 GB, free: 13.89 MB / 1.279 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.0003545/0.8636, allocations: 184.2 kB / 1.579 GB, free: 13.71 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.8649, allocations: 0.7635 MB / 1.58 GB, free: 12.94 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.8649, allocations: 4.062 kB / 1.58 GB, free: 12.94 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.8655, allocations: 407.6 kB / 1.58 GB, free: 12.54 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.868, allocations: 0.5823 MB / 1.581 GB, free: 11.98 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.872, allocations: 2.278 MB / 1.583 GB, free: 9.656 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009222/0.873, allocations: 1.14 MB / 1.584 GB, free: 8.492 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.8733, allocations: 83.36 kB / 1.584 GB, free: 8.41 MB / 1.279 GB Notification: Performance of SimCode: time 1.212e-06/0.8733, allocations: 0 / 1.584 GB, free: 8.41 MB / 1.279 GB Notification: Performance of Templates: time 0.03004/0.9033, allocations: 15.94 MB / 1.6 GB, free: 8.578 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.248919203004334]