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.001392/0.001392, allocations: 82.02 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001316/0.001316, allocations: 174 kB / 23.28 MB, free: 1.223 MB / 18.57 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 0.9237/0.9237, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.253/2.253, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.|rooB.Xi.[0-9,]+.|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.[0-9,]+.|rooB.Xi.[0-9,]+.|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 1.132e-06/1.132e-06, allocations: 0 / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.146e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1211/0.1211, allocations: 149 MB / 1.035 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004497/0.1256, allocations: 3.71 MB / 1.039 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004414/0.126, allocations: 51.62 kB / 1.039 GB, free: 0.5078 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.1266, allocations: 309.9 kB / 1.039 GB, free: 208 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.1283, allocations: 1.391 MB / 1.041 GB, free: 14.8 MB / 1.01 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.0006707/0.129, allocations: 0.5574 MB / 1.041 GB, free: 14.25 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.1312, allocations: 3.316 MB / 1.044 GB, free: 10.92 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008698/0.1321, allocations: 0.8366 MB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.134, allocations: 1.73 MB / 1.047 GB, free: 8.371 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008223/0.1348, allocations: 1.028 MB / 1.048 GB, free: 7.34 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1349, allocations: 124 kB / 1.048 GB, free: 7.219 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.1354, allocations: 379.2 kB / 1.048 GB, free: 6.848 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.1358, allocations: 0.5649 MB / 1.049 GB, free: 6.281 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.1362, allocations: 0.5341 MB / 1.049 GB, free: 5.746 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009973/0.1372, allocations: 1.297 MB / 1.051 GB, free: 4.445 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1372, allocations: 7.938 kB / 1.051 GB, free: 4.438 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1372, allocations: 0 / 1.051 GB, free: 4.438 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.1372, allocations: 0 / 1.051 GB, free: 4.438 MB / 1.01 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.001959/0.1391, allocations: 1.702 MB / 1.052 GB, free: 2.691 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1392, allocations: 8.625 kB / 1.052 GB, free: 2.684 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1402, allocations: 443.2 kB / 1.053 GB, free: 2.25 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.1409, allocations: 0.7449 MB / 1.053 GB, free: 1.473 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.1409, allocations: 74.02 kB / 1.054 GB, free: 1.398 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.141, allocations: 107.9 kB / 1.054 GB, free: 1.293 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008012/0.1419, allocations: 0.7833 MB / 1.054 GB, free: 436 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1419, allocations: 0 / 1.054 GB, free: 436 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.1419, allocations: 47.98 kB / 1.054 GB, free: 388 kB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.142, allocations: 58.06 kB / 1.055 GB, free: 328 kB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.485/0.627, allocations: 404.5 kB / 1.055 GB, free: 71.21 MB / 1.01 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.003398/0.6304, allocations: 2.579 MB / 1.057 GB, free: 70.83 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.6309, allocations: 457.2 kB / 1.058 GB, free: 70.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.6311, allocations: 212.9 kB / 1.058 GB, free: 70.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.6312, allocations: 23.81 kB / 1.058 GB, free: 70.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.6315, allocations: 470.9 kB / 1.059 GB, free: 70.46 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/0.6315, allocations: 0 / 1.059 GB, free: 70.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.0007572/0.6323, allocations: 0.5551 MB / 1.059 GB, free: 70.37 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.6323, allocations: 60.53 kB / 1.059 GB, free: 70.31 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.6326, allocations: 0.5112 MB / 1.06 GB, free: 70.12 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.6326, allocations: 40.45 kB / 1.06 GB, free: 70.09 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.6328, allocations: 0.5253 MB / 1.06 GB, free: 69.85 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6329, allocations: 281.7 kB / 1.06 GB, free: 69.71 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6331, allocations: 143 kB / 1.061 GB, free: 69.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6332, allocations: 0.5686 MB / 1.061 GB, free: 69.19 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.6333, allocations: 98.86 kB / 1.061 GB, free: 69.19 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.6334, allocations: 254 kB / 1.061 GB, free: 69.04 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.6337, allocations: 400.2 kB / 1.062 GB, free: 68.88 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6337, allocations: 0 / 1.062 GB, free: 68.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000466/0.6342, allocations: 0.5007 MB / 1.062 GB, free: 68.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6342, allocations: 8.781 kB / 1.062 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6342, allocations: 4.391 kB / 1.062 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6342, allocations: 5.781 kB / 1.062 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.6345, allocations: 155.7 kB / 1.063 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6345, allocations: 9.188 kB / 1.063 GB, free: 68.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.6348, allocations: 53.7 kB / 1.063 GB, free: 68.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6349, allocations: 19.92 kB / 1.063 GB, free: 68.78 MB / 1.01 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.0001502/0.635, allocations: 206 kB / 1.063 GB, free: 68.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.6351, allocations: 103.2 kB / 1.063 GB, free: 68.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.326e-05/0.6352, allocations: 103.2 kB / 1.063 GB, free: 68.56 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.6352, allocations: 6.781 kB / 1.063 GB, free: 68.56 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.6352, allocations: 0 / 1.063 GB, free: 68.56 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004066/0.6356, allocations: 0.6698 MB / 1.064 GB, free: 68.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.6368, allocations: 1.276 MB / 1.065 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6368, allocations: 3.312 kB / 1.065 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.6372, allocations: 178.2 kB / 1.065 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6372, allocations: 2.938 kB / 1.065 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.6372, allocations: 21.16 kB / 1.065 GB, free: 67.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.6372, allocations: 7.875 kB / 1.065 GB, free: 67.76 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6372, allocations: 0 / 1.065 GB, free: 67.76 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.6378, allocations: 0.7585 MB / 1.066 GB, free: 67.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.638, allocations: 152.9 kB / 1.066 GB, free: 67.46 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.6381, allocations: 17.12 kB / 1.066 GB, free: 67.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.6383, allocations: 27.03 kB / 1.066 GB, free: 67.46 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.6383, allocations: 44.73 kB / 1.066 GB, free: 67.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.6384, allocations: 21.61 kB / 1.066 GB, free: 67.46 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001523/0.6385, allocations: 316.9 kB / 1.066 GB, free: 67.33 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6385, allocations: 2.062 kB / 1.066 GB, free: 67.33 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005129/0.639, allocations: 380.9 kB / 1.067 GB, free: 67.3 MB / 1.01 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.0001802/0.6392, allocations: 128 kB / 1.067 GB, free: 67.21 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.6396, allocations: 375.2 kB / 1.067 GB, free: 67.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6396, allocations: 2.938 kB / 1.067 GB, free: 67.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.6398, allocations: 222 kB / 1.067 GB, free: 67.17 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.641, allocations: 0.5359 MB / 1.068 GB, free: 67.14 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.6429, allocations: 1.781 MB / 1.07 GB, free: 66.39 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.643, allocations: 254.3 kB / 1.07 GB, free: 66.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000363/0.6434, allocations: 146.7 kB / 1.07 GB, free: 66.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/0.644, allocations: 441.9 kB / 1.071 GB, free: 66.23 MB / 1.01 GB Notification: Performance of SimCode: time 7.51e-07/0.644, allocations: 0.8125 kB / 1.071 GB, free: 66.23 MB / 1.01 GB Notification: Performance of Templates: time 0.02343/0.6674, allocations: 19.42 MB / 1.089 GB, free: 64.46 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.017413837835193]