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.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.001698/0.001698, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002054/0.002054, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.609/1.609, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.427/3.427, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.00213/0.00213, allocations: 63.34 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4888, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2689/0.7577, allocations: 180.9 MB / 1.541 GB, free: 8.086 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.7706, allocations: 6.006 MB / 1.547 GB, free: 2.066 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.7727, allocations: 47.62 kB / 1.547 GB, free: 2.02 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.775, allocations: 0.6993 MB / 1.548 GB, free: 1.316 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009155/0.7842, allocations: 2.807 MB / 1.551 GB, free: 14.5 MB / 1.248 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.002396/0.7866, allocations: 0.729 MB / 1.551 GB, free: 13.77 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005464/0.792, allocations: 3.324 MB / 1.554 GB, free: 10.44 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.7936, allocations: 0.8129 MB / 1.555 GB, free: 9.602 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.7971, allocations: 1.433 MB / 1.557 GB, free: 8.164 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.8002, allocations: 1.11 MB / 1.558 GB, free: 7.055 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.8004, allocations: 128 kB / 1.558 GB, free: 6.93 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005341/0.8058, allocations: 1.905 MB / 1.56 GB, free: 5.02 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008246/0.8066, allocations: 0.5297 MB / 1.56 GB, free: 4.488 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.8078, allocations: 0.6149 MB / 1.561 GB, free: 3.871 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005906/0.8137, allocations: 2.73 MB / 1.564 GB, free: 1.133 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.8137, allocations: 0 / 1.564 GB, free: 1.133 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8137, allocations: 4 kB / 1.564 GB, free: 1.129 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.176e-05/0.8137, allocations: 0 / 1.564 GB, free: 1.129 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.004573/0.8183, allocations: 1.734 MB / 1.565 GB, free: 15.36 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.8183, allocations: 8.031 kB / 1.565 GB, free: 15.35 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.8205, allocations: 350.9 kB / 1.566 GB, free: 15 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.8224, allocations: 0.818 MB / 1.566 GB, free: 14.16 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.8225, allocations: 78.02 kB / 1.566 GB, free: 14.08 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.8226, allocations: 99.98 kB / 1.567 GB, free: 13.98 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.825, allocations: 1.392 MB / 1.568 GB, free: 12.51 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.825, allocations: 0 / 1.568 GB, free: 12.51 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.8251, allocations: 40 kB / 1.568 GB, free: 12.47 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.396e-05/0.8252, allocations: 62.08 kB / 1.568 GB, free: 12.41 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.8273, allocations: 1.238 MB / 1.569 GB, free: 11.16 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 preOpt removeSimpleEquations (simulation): time 0.006312/0.8336, allocations: 2.977 MB / 1.572 GB, free: 8.137 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.8351, allocations: 0.8301 MB / 1.573 GB, free: 7.297 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.8359, allocations: 489.2 kB / 1.573 GB, free: 6.816 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/0.8359, allocations: 16.66 kB / 1.573 GB, free: 6.801 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009697/0.8369, allocations: 0.6776 MB / 1.574 GB, free: 6.059 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/0.8369, allocations: 0 / 1.574 GB, free: 6.059 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002247/0.8391, allocations: 1.161 MB / 1.575 GB, free: 4.891 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.8392, allocations: 56.06 kB / 1.575 GB, free: 4.824 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000718/0.8399, allocations: 0.5069 MB / 1.576 GB, free: 4.309 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.84, allocations: 37.7 kB / 1.576 GB, free: 4.266 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.8404, allocations: 476.6 kB / 1.576 GB, free: 3.793 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.8408, allocations: 293.6 kB / 1.577 GB, free: 3.504 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.841, allocations: 126.7 kB / 1.577 GB, free: 3.375 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.8412, allocations: 382.8 kB / 1.577 GB, free: 2.992 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.8417, allocations: 329.8 kB / 1.577 GB, free: 2.672 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.8424, allocations: 444.8 kB / 1.578 GB, free: 2.203 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.8436, allocations: 0.8349 MB / 1.579 GB, free: 1.332 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8436, allocations: 0 / 1.579 GB, free: 1.332 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001542/0.8452, allocations: 0.9262 MB / 1.579 GB, free: 408 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.8452, allocations: 7.984 kB / 1.579 GB, free: 400 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.8452, allocations: 4.344 kB / 1.579 GB, free: 396 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/0.8452, allocations: 15.94 kB / 1.579 GB, free: 380 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/0.8459, allocations: 155.8 kB / 1.58 GB, free: 224 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.846, allocations: 11.94 kB / 1.58 GB, free: 212 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.8467, allocations: 51.61 kB / 1.58 GB, free: 160 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.8468, allocations: 28 kB / 1.58 GB, free: 132 kB / 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.0006214/0.8474, allocations: 329.6 kB / 1.58 GB, free: 15.79 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.8475, allocations: 79.53 kB / 1.58 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.8477, allocations: 103.2 kB / 1.58 GB, free: 15.61 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.8478, allocations: 11.94 kB / 1.58 GB, free: 15.59 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.8478, allocations: 7.938 kB / 1.58 GB, free: 15.59 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/0.8492, allocations: 1.089 MB / 1.581 GB, free: 14.41 MB / 1.279 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.003326/0.8526, allocations: 1.894 MB / 1.583 GB, free: 12.48 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.8526, allocations: 4 kB / 1.583 GB, free: 12.47 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008287/0.8534, allocations: 171.8 kB / 1.583 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.8534, allocations: 4 kB / 1.583 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.8535, allocations: 23.95 kB / 1.583 GB, free: 12.28 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.8535, allocations: 4 kB / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8535, allocations: 0 / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.8555, allocations: 1.348 MB / 1.585 GB, free: 10.91 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.856, allocations: 171.4 kB / 1.585 GB, free: 10.74 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.8561, allocations: 12 kB / 1.585 GB, free: 10.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.8566, allocations: 29.98 kB / 1.585 GB, free: 10.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.8567, allocations: 44.52 kB / 1.585 GB, free: 10.66 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.8568, allocations: 31.98 kB / 1.585 GB, free: 10.62 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.000494/0.8573, allocations: 358.8 kB / 1.585 GB, free: 10.28 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.8573, allocations: 4 kB / 1.585 GB, free: 10.27 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001065/0.8584, allocations: 375.2 kB / 1.586 GB, free: 9.906 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.0003584/0.8587, allocations: 183.1 kB / 1.586 GB, free: 9.719 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.8601, allocations: 0.7628 MB / 1.587 GB, free: 8.953 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8601, allocations: 3.938 kB / 1.587 GB, free: 8.949 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.8607, allocations: 411.5 kB / 1.587 GB, free: 8.551 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.863, allocations: 0.5266 MB / 1.587 GB, free: 8.035 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.867, allocations: 2.266 MB / 1.59 GB, free: 5.727 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.8677, allocations: 0.5425 MB / 1.59 GB, free: 5.156 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.868, allocations: 79.42 kB / 1.59 GB, free: 5.078 MB / 1.279 GB Notification: Performance of SimCode: time 7.91e-07/0.868, allocations: 0 / 1.59 GB, free: 5.078 MB / 1.279 GB Notification: Performance of Templates: time 0.03043/0.8984, allocations: 15.85 MB / 1.606 GB, free: 5.316 MB / 1.295 GB " [Timeout remaining time 299] 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/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: 16.49509957898408]