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.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.001112/0.001112, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001284/0.001284, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8956/0.8956, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.638/1.638, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.903e-06/1.903e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.215e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5914/0.5915, allocations: 180.6 MB / 1.128 GB, free: 24.88 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007443/0.5989, allocations: 6.002 MB / 1.134 GB, free: 20.8 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.5997, allocations: 53.72 kB / 1.134 GB, free: 20.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.6011, allocations: 0.6941 MB / 1.135 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004753/0.6058, allocations: 2.868 MB / 1.137 GB, free: 18.86 MB / 0.9948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.001313/0.6071, allocations: 0.7321 MB / 1.138 GB, free: 18.45 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00286/0.61, allocations: 3.39 MB / 1.141 GB, free: 16.85 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008721/0.6109, allocations: 0.8105 MB / 1.142 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.6127, allocations: 1.705 MB / 1.144 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.6142, allocations: 1.055 MB / 1.145 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.6143, allocations: 127.8 kB / 1.145 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.6173, allocations: 1.949 MB / 1.147 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004749/0.6178, allocations: 0.5645 MB / 1.148 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.6183, allocations: 0.5406 MB / 1.148 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.6214, allocations: 2.814 MB / 1.151 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6214, allocations: 0 / 1.151 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6214, allocations: 3.938 kB / 1.151 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.6214, allocations: 0 / 1.151 GB, free: 13.21 MB / 0.9948 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.002392/0.6238, allocations: 1.718 MB / 1.152 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6238, allocations: 10.06 kB / 1.152 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.625, allocations: 357.6 kB / 1.153 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009725/0.626, allocations: 0.8218 MB / 1.154 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.626, allocations: 78.94 kB / 1.154 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6261, allocations: 98.81 kB / 1.154 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.6276, allocations: 1.396 MB / 1.155 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6276, allocations: 7.953 kB / 1.155 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-05/0.6277, allocations: 38 kB / 1.155 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.6277, allocations: 63.22 kB / 1.155 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.6291, allocations: 1.24 MB / 1.156 GB, free: 10.39 MB / 0.9948 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.003447/0.6326, allocations: 2.958 MB / 1.159 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/0.6335, allocations: 0.8396 MB / 1.16 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.6339, allocations: 494.7 kB / 1.161 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.634, allocations: 10.03 kB / 1.161 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/0.6345, allocations: 0.679 MB / 1.161 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/0.6345, allocations: 0 / 1.161 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.001309/0.6358, allocations: 1.153 MB / 1.162 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.6358, allocations: 61.77 kB / 1.163 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.6362, allocations: 0.5013 MB / 1.163 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.6362, allocations: 46.23 kB / 1.163 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.6364, allocations: 476.2 kB / 1.164 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.6366, allocations: 276.3 kB / 1.164 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6367, allocations: 131 kB / 1.164 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.6368, allocations: 386.9 kB / 1.164 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.6371, allocations: 332.2 kB / 1.165 GB, free: 6.07 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.6374, allocations: 449.4 kB / 1.165 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.6382, allocations: 0.8266 MB / 1.166 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.6382, allocations: 1 kB / 1.166 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008994/0.6391, allocations: 0.9284 MB / 1.167 GB, free: 5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6391, allocations: 6.094 kB / 1.167 GB, free: 5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6391, allocations: 3.094 kB / 1.167 GB, free: 5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6392, allocations: 5.719 kB / 1.167 GB, free: 5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.6395, allocations: 156.1 kB / 1.167 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6395, allocations: 6.031 kB / 1.167 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.6399, allocations: 58.97 kB / 1.167 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.6399, allocations: 23.81 kB / 1.167 GB, free: 4.938 MB / 0.9948 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.0002682/0.6402, allocations: 343.7 kB / 1.167 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.6403, allocations: 83.7 kB / 1.167 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.6404, allocations: 101.3 kB / 1.167 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.6404, allocations: 8.469 kB / 1.167 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.6404, allocations: 0 / 1.167 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007728/0.6412, allocations: 1.087 MB / 1.169 GB, free: 3.875 MB / 0.9948 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.00181/0.643, allocations: 1.907 MB / 1.17 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.643, allocations: 0 / 1.17 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.6434, allocations: 175.3 kB / 1.171 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.6434, allocations: 7.375 kB / 1.171 GB, free: 2.91 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.6435, allocations: 23.89 kB / 1.171 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6435, allocations: 2.344 kB / 1.171 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6435, allocations: 1.125 kB / 1.171 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.6446, allocations: 1.343 MB / 1.172 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.6449, allocations: 170.2 kB / 1.172 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.03e-05/0.6449, allocations: 20.91 kB / 1.172 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.6452, allocations: 18.44 kB / 1.172 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.6453, allocations: 55.95 kB / 1.172 GB, free: 2.145 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.6453, allocations: 25.92 kB / 1.172 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002512/0.6455, allocations: 357.6 kB / 1.173 GB, free: 1.977 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6455, allocations: 0 / 1.173 GB, free: 1.977 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006941/0.6462, allocations: 381.4 kB / 1.173 GB, free: 1.895 MB / 0.9948 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.0002069/0.6464, allocations: 178.4 kB / 1.173 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007663/0.6472, allocations: 0.7611 MB / 1.174 GB, free: 1.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6472, allocations: 3.938 kB / 1.174 GB, free: 1.496 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.6475, allocations: 407.1 kB / 1.174 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6489, allocations: 0.5324 MB / 1.175 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.6509, allocations: 2.127 MB / 1.177 GB, free: 56 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.6513, allocations: 0.5432 MB / 1.177 GB, free: 15.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.6515, allocations: 81.42 kB / 1.177 GB, free: 15.88 MB / 1.01 GB Notification: Performance of SimCode: time 9.72e-07/0.6515, allocations: 0 / 1.177 GB, free: 15.88 MB / 1.01 GB Notification: Performance of Templates: time 0.01261/0.6641, allocations: 16.09 MB / 1.193 GB, free: 9.781 MB / 1.01 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.411421812139452]