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.001831/0.001831, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001799/0.001799, allocations: 162.4 kB / 23.01 MB, free: 4.602 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.881/2.881, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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.00249/0.00249, allocations: 75.88 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8656, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2315/1.097, allocations: 180.9 MB / 1.363 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01051/1.108, allocations: 6.009 MB / 1.369 GB, free: 10.93 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/1.109, allocations: 51.62 kB / 1.369 GB, free: 10.88 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/1.11, allocations: 0.6915 MB / 1.37 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006882/1.117, allocations: 2.812 MB / 1.373 GB, free: 7.359 MB / 1.217 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.001998/1.119, allocations: 0.7274 MB / 1.373 GB, free: 6.637 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004686/1.124, allocations: 3.327 MB / 1.376 GB, free: 3.297 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/1.125, allocations: 0.8051 MB / 1.377 GB, free: 2.469 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/1.128, allocations: 1.441 MB / 1.379 GB, free: 1.023 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/1.131, allocations: 1.099 MB / 1.38 GB, free: 15.92 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/1.131, allocations: 132 kB / 1.38 GB, free: 15.79 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/1.135, allocations: 1.913 MB / 1.382 GB, free: 13.88 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007168/1.136, allocations: 0.5297 MB / 1.382 GB, free: 13.35 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/1.137, allocations: 0.6187 MB / 1.383 GB, free: 12.73 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00491/1.142, allocations: 2.73 MB / 1.386 GB, free: 9.992 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.142, allocations: 0 / 1.386 GB, free: 9.992 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.595e-06/1.142, allocations: 0 / 1.386 GB, free: 9.992 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.401e-05/1.142, allocations: 3.938 kB / 1.386 GB, free: 9.988 MB / 1.232 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.004434/1.146, allocations: 1.738 MB / 1.387 GB, free: 8.211 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.146, allocations: 12.03 kB / 1.387 GB, free: 8.199 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/1.149, allocations: 354.8 kB / 1.388 GB, free: 7.852 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/1.15, allocations: 0.8103 MB / 1.388 GB, free: 7.008 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/1.15, allocations: 78.02 kB / 1.388 GB, free: 6.93 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/1.15, allocations: 103.9 kB / 1.389 GB, free: 6.828 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/1.153, allocations: 1.399 MB / 1.39 GB, free: 5.348 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/1.153, allocations: 0 / 1.39 GB, free: 5.348 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.153, allocations: 40 kB / 1.39 GB, free: 5.309 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.801e-05/1.153, allocations: 58.08 kB / 1.39 GB, free: 5.25 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/1.155, allocations: 1.238 MB / 1.391 GB, free: 4.004 MB / 1.232 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.005913/1.161, allocations: 2.969 MB / 1.394 GB, free: 0.9883 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/1.162, allocations: 0.8302 MB / 1.395 GB, free: 152 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/1.163, allocations: 485.8 kB / 1.395 GB, free: 15.67 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/1.163, allocations: 20.52 kB / 1.395 GB, free: 15.65 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/1.164, allocations: 0.6815 MB / 1.396 GB, free: 14.91 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/1.164, allocations: 0 / 1.396 GB, free: 14.91 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.002131/1.166, allocations: 1.161 MB / 1.397 GB, free: 13.74 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.166, allocations: 64.05 kB / 1.397 GB, free: 13.66 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/1.167, allocations: 0.5029 MB / 1.398 GB, free: 13.15 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/1.167, allocations: 41.7 kB / 1.398 GB, free: 13.11 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/1.167, allocations: 476.6 kB / 1.398 GB, free: 12.63 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/1.168, allocations: 281.5 kB / 1.399 GB, free: 12.36 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/1.168, allocations: 126.7 kB / 1.399 GB, free: 12.23 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002158/1.168, allocations: 382.7 kB / 1.399 GB, free: 11.84 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/1.169, allocations: 333.8 kB / 1.399 GB, free: 11.52 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/1.169, allocations: 448.8 kB / 1.4 GB, free: 11.05 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/1.171, allocations: 0.8232 MB / 1.401 GB, free: 10.19 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.171, allocations: 4 kB / 1.401 GB, free: 10.18 MB / 1.248 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001562/1.172, allocations: 0.9301 MB / 1.401 GB, free: 9.246 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.172, allocations: 8 kB / 1.401 GB, free: 9.238 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.172, allocations: 0 / 1.401 GB, free: 9.238 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.172, allocations: 11.94 kB / 1.402 GB, free: 9.227 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/1.173, allocations: 155.8 kB / 1.402 GB, free: 9.074 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/1.173, allocations: 8.281 kB / 1.402 GB, free: 9.066 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/1.174, allocations: 59.56 kB / 1.402 GB, free: 9.008 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/1.174, allocations: 27.98 kB / 1.402 GB, free: 8.98 MB / 1.248 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.0005187/1.174, allocations: 329.6 kB / 1.402 GB, free: 8.648 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.175, allocations: 75.53 kB / 1.402 GB, free: 8.574 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/1.175, allocations: 107.2 kB / 1.402 GB, free: 8.465 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.175, allocations: 11.94 kB / 1.402 GB, free: 8.453 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.175, allocations: 0 / 1.402 GB, free: 8.453 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/1.176, allocations: 1.093 MB / 1.403 GB, free: 7.273 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 postOpt removeSimpleEquations (simulation): time 0.003265/1.18, allocations: 1.902 MB / 1.405 GB, free: 5.328 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.18, allocations: 0 / 1.405 GB, free: 5.328 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008995/1.18, allocations: 171.8 kB / 1.405 GB, free: 5.16 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/1.18, allocations: 4 kB / 1.405 GB, free: 5.156 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/1.18, allocations: 19.98 kB / 1.405 GB, free: 5.137 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-06/1.18, allocations: 7.984 kB / 1.405 GB, free: 5.129 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.18, allocations: 0 / 1.405 GB, free: 5.129 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/1.183, allocations: 1.352 MB / 1.407 GB, free: 3.758 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/1.183, allocations: 179.4 kB / 1.407 GB, free: 3.582 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.183, allocations: 16 kB / 1.407 GB, free: 3.566 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/1.184, allocations: 30.59 kB / 1.407 GB, free: 3.539 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/1.184, allocations: 40.58 kB / 1.407 GB, free: 3.5 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/1.184, allocations: 23.98 kB / 1.407 GB, free: 3.477 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004643/1.184, allocations: 362.8 kB / 1.407 GB, free: 3.125 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.184, allocations: 0 / 1.407 GB, free: 3.125 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009484/1.185, allocations: 375.2 kB / 1.408 GB, free: 2.758 MB / 1.248 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.0002748/1.186, allocations: 171.1 kB / 1.408 GB, free: 2.582 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001294/1.187, allocations: 0.7634 MB / 1.409 GB, free: 1.816 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.187, allocations: 4.125 kB / 1.409 GB, free: 1.812 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/1.188, allocations: 411.5 kB / 1.409 GB, free: 1.41 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.19, allocations: 0.5384 MB / 1.409 GB, free: 0.8789 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/1.194, allocations: 2.183 MB / 1.412 GB, free: 14.66 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/1.194, allocations: 0.5463 MB / 1.412 GB, free: 14.08 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008384/1.195, allocations: 262.6 kB / 1.412 GB, free: 13.82 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/1.195, allocations: 76.5 kB / 1.412 GB, free: 13.74 MB / 1.264 GB Notification: Performance of SimCode: time 5.61e-07/1.195, allocations: 0 / 1.412 GB, free: 13.74 MB / 1.264 GB Notification: Performance of Templates: time 0.03193/1.227, allocations: 18.52 MB / 1.431 GB, free: 11.64 MB / 1.279 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 -s ida -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: 9.742205634946004]