Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 443.5 MB / 0.731 GB, free: 14.02 MB / 0.5762 GB [Timeout remaining time 86] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=501,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_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,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_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.91 kB / 1.06 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3846, allocations: 160.7 MB / 1.217 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.158/1.543, allocations: 204.9 MB / 1.417 GB, free: 13.18 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01212/1.555, allocations: 6.386 MB / 1.423 GB, free: 7.973 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/1.557, allocations: 36.19 kB / 1.423 GB, free: 7.961 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/1.56, allocations: 0.7672 MB / 1.424 GB, free: 7.352 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008452/1.568, allocations: 2.764 MB / 1.426 GB, free: 5.25 MB / 1.092 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.00224/1.57, allocations: 0.7281 MB / 1.427 GB, free: 4.672 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005278/1.576, allocations: 3.28 MB / 1.43 GB, free: 2.797 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/1.577, allocations: 0.9437 MB / 1.431 GB, free: 2.191 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/1.58, allocations: 1.282 MB / 1.432 GB, free: 1.465 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/1.583, allocations: 1.179 MB / 1.434 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/1.583, allocations: 126.8 kB / 1.434 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006947/1.59, allocations: 2.509 MB / 1.436 GB, free: 15.09 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.591, allocations: 0.5375 MB / 1.437 GB, free: 14.55 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/1.593, allocations: 0.7352 MB / 1.437 GB, free: 13.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/1.605, allocations: 2.807 MB / 1.44 GB, free: 11 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.605, allocations: 0 / 1.44 GB, free: 11 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.985e-06/1.605, allocations: 11.94 kB / 1.44 GB, free: 10.99 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001158/1.605, allocations: 0 / 1.44 GB, free: 10.99 MB / 1.107 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.007321/1.613, allocations: 1.802 MB / 1.442 GB, free: 9.133 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/1.613, allocations: 15.98 kB / 1.442 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/1.615, allocations: 342.9 kB / 1.442 GB, free: 8.781 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/1.618, allocations: 0.894 MB / 1.443 GB, free: 7.844 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.674e-05/1.618, allocations: 74.02 kB / 1.443 GB, free: 7.77 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/1.618, allocations: 103.9 kB / 1.443 GB, free: 7.668 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/1.621, allocations: 1.195 MB / 1.444 GB, free: 6.441 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/1.621, allocations: 0 / 1.444 GB, free: 6.441 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/1.621, allocations: 40 kB / 1.445 GB, free: 6.402 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-05/1.621, allocations: 66 kB / 1.445 GB, free: 6.336 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/1.624, allocations: 1.246 MB / 1.446 GB, free: 5.082 MB / 1.107 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.008858/1.633, allocations: 5.11 MB / 1.451 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/1.634, allocations: 1.128 MB / 1.452 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008253/1.635, allocations: 488.1 kB / 1.452 GB, free: 13.82 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 6.795e-05/1.635, allocations: 24.64 kB / 1.452 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000834/1.636, allocations: 496.2 kB / 1.453 GB, free: 13.3 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 3.547e-06/1.636, allocations: 0 / 1.453 GB, free: 13.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.002351/1.638, allocations: 1.157 MB / 1.454 GB, free: 12.14 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.638, allocations: 60.06 kB / 1.454 GB, free: 12.07 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/1.639, allocations: 0.5744 MB / 1.455 GB, free: 11.49 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/1.639, allocations: 45.69 kB / 1.455 GB, free: 11.44 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/1.64, allocations: 468.7 kB / 1.455 GB, free: 10.97 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/1.64, allocations: 281.5 kB / 1.455 GB, free: 10.7 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/1.641, allocations: 134.6 kB / 1.455 GB, free: 10.55 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002642/1.641, allocations: 382.8 kB / 1.456 GB, free: 10.17 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/1.641, allocations: 329.8 kB / 1.456 GB, free: 9.852 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/1.642, allocations: 452.7 kB / 1.457 GB, free: 9.375 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/1.643, allocations: 0.8239 MB / 1.457 GB, free: 8.512 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.643, allocations: 3.984 kB / 1.457 GB, free: 8.508 MB / 1.123 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001623/1.645, allocations: 0.9339 MB / 1.458 GB, free: 7.566 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/1.645, allocations: 8 kB / 1.458 GB, free: 7.559 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.645, allocations: 3.938 kB / 1.458 GB, free: 7.555 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/1.645, allocations: 11.94 kB / 1.458 GB, free: 7.543 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/1.646, allocations: 151.1 kB / 1.458 GB, free: 7.398 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.646, allocations: 15.92 kB / 1.458 GB, free: 7.383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008732/1.647, allocations: 67.86 kB / 1.459 GB, free: 7.316 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/1.647, allocations: 28 kB / 1.459 GB, free: 7.289 MB / 1.123 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.0006398/1.647, allocations: 329.5 kB / 1.459 GB, free: 6.957 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/1.648, allocations: 79.53 kB / 1.459 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/1.648, allocations: 103.8 kB / 1.459 GB, free: 6.773 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.648, allocations: 11.94 kB / 1.459 GB, free: 6.762 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.648, allocations: 3.984 kB / 1.459 GB, free: 6.758 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/1.649, allocations: 1.093 MB / 1.46 GB, free: 5.578 MB / 1.123 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.00396/1.653, allocations: 2.311 MB / 1.462 GB, free: 3.176 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.653, allocations: 4 kB / 1.462 GB, free: 3.172 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008741/1.654, allocations: 171.8 kB / 1.463 GB, free: 3.004 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/1.654, allocations: 4 kB / 1.463 GB, free: 3 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/1.654, allocations: 19.98 kB / 1.463 GB, free: 2.98 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/1.654, allocations: 4 kB / 1.463 GB, free: 2.977 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.654, allocations: 4.031 kB / 1.463 GB, free: 2.973 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/1.656, allocations: 1.359 MB / 1.464 GB, free: 1.594 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/1.657, allocations: 252.5 kB / 1.464 GB, free: 1.328 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/1.657, allocations: 23.98 kB / 1.464 GB, free: 1.305 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/1.658, allocations: 14.06 kB / 1.464 GB, free: 1.293 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.658, allocations: 44.59 kB / 1.464 GB, free: 1.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/1.658, allocations: 31.98 kB / 1.464 GB, free: 1.219 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006221/1.659, allocations: 411.1 kB / 1.465 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.659, allocations: 0 / 1.465 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001203/1.66, allocations: 375.3 kB / 1.465 GB, free: 464 kB / 1.123 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.0003998/1.66, allocations: 168.5 kB / 1.465 GB, free: 288 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001447/1.662, allocations: 0.7667 MB / 1.466 GB, free: 15.51 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.662, allocations: 0 / 1.466 GB, free: 15.51 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006173/1.662, allocations: 412.2 kB / 1.466 GB, free: 15.11 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/1.665, allocations: 0.5968 MB / 1.467 GB, free: 14.54 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/1.669, allocations: 2.273 MB / 1.469 GB, free: 12.23 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.671, allocations: 1.143 MB / 1.47 GB, free: 11.06 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/1.671, allocations: 75.44 kB / 1.47 GB, free: 10.99 MB / 1.139 GB Notification: Performance of SimCode: time 1.362e-06/1.671, allocations: 0 / 1.47 GB, free: 10.99 MB / 1.139 GB Notification: Performance of Templates: time 0.03122/1.702, allocations: 15.97 MB / 1.486 GB, free: 11.15 MB / 1.154 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches