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.001763/0.001763, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001858/0.001858, allocations: 210.6 kB / 23.01 MB, free: 4.57 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.461/3.461, allocations: 0.505 GB / 0.8108 GB, free: 22 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.002107/0.002107, allocations: 64.56 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4504, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2793/0.7297, allocations: 208.4 MB / 1.558 GB, free: 6.785 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.7416, allocations: 6.414 MB / 1.564 GB, free: 368 kB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.7434, allocations: 47.62 kB / 1.564 GB, free: 320 kB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.7456, allocations: 0.7772 MB / 1.565 GB, free: 15.53 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008413/0.7541, allocations: 2.824 MB / 1.567 GB, free: 12.7 MB / 1.264 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.002287/0.7563, allocations: 0.7389 MB / 1.568 GB, free: 11.96 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005848/0.7622, allocations: 3.358 MB / 1.571 GB, free: 8.586 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.7639, allocations: 0.813 MB / 1.572 GB, free: 7.75 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.7678, allocations: 1.433 MB / 1.574 GB, free: 6.312 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.7709, allocations: 1.158 MB / 1.575 GB, free: 5.156 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.7712, allocations: 128 kB / 1.575 GB, free: 5.031 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006216/0.7774, allocations: 2.537 MB / 1.577 GB, free: 2.488 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0008445/0.7783, allocations: 0.5375 MB / 1.578 GB, free: 1.949 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.7797, allocations: 0.743 MB / 1.579 GB, free: 1.203 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.007396/0.7871, allocations: 2.8 MB / 1.581 GB, free: 14.39 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7871, allocations: 0 / 1.581 GB, free: 14.39 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7871, allocations: 0 / 1.581 GB, free: 14.39 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.759e-05/0.7871, allocations: 0 / 1.581 GB, free: 14.39 MB / 1.279 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.005235/0.7923, allocations: 1.738 MB / 1.583 GB, free: 12.62 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.7924, allocations: 12.03 kB / 1.583 GB, free: 12.61 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.7947, allocations: 346.9 kB / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.7967, allocations: 0.818 MB / 1.584 GB, free: 11.42 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.7968, allocations: 78.02 kB / 1.584 GB, free: 11.34 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.7969, allocations: 103.9 kB / 1.584 GB, free: 11.24 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.7992, allocations: 1.191 MB / 1.585 GB, free: 10.02 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.7992, allocations: 0 / 1.585 GB, free: 10.02 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.7993, allocations: 43.97 kB / 1.586 GB, free: 9.973 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.293e-05/0.7994, allocations: 62.06 kB / 1.586 GB, free: 9.91 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.8015, allocations: 1.249 MB / 1.587 GB, free: 8.652 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 preOpt removeSimpleEquations (simulation): time 0.008754/0.8102, allocations: 5.201 MB / 1.592 GB, free: 2.957 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.8118, allocations: 0.8386 MB / 1.593 GB, free: 2.113 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.8127, allocations: 493.2 kB / 1.593 GB, free: 1.625 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.8127, allocations: 20.78 kB / 1.593 GB, free: 1.605 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009247/0.8137, allocations: 484.2 kB / 1.594 GB, free: 1.121 MB / 1.279 GB Notification: Performance of pre-optimization done (n=76): time 5.931e-06/0.8137, allocations: 4 kB / 1.594 GB, free: 1.117 MB / 1.279 GB Notification: Performance of matching and sorting (n=76): time 0.002541/0.8162, allocations: 1.165 MB / 1.595 GB, free: 15.94 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.8163, allocations: 60.06 kB / 1.595 GB, free: 15.87 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009491/0.8172, allocations: 0.5783 MB / 1.595 GB, free: 15.28 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.904e-05/0.8173, allocations: 37.7 kB / 1.595 GB, free: 15.24 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.8178, allocations: 472.6 kB / 1.596 GB, free: 14.77 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.8182, allocations: 277.5 kB / 1.596 GB, free: 14.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.8185, allocations: 134.6 kB / 1.596 GB, free: 14.36 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002627/0.8187, allocations: 386.8 kB / 1.597 GB, free: 13.98 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/0.8193, allocations: 329.8 kB / 1.597 GB, free: 13.65 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.82, allocations: 452.7 kB / 1.597 GB, free: 13.18 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.8213, allocations: 0.831 MB / 1.598 GB, free: 12.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.8213, allocations: 0 / 1.598 GB, free: 12.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001687/0.823, allocations: 0.9341 MB / 1.599 GB, free: 11.36 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.823, allocations: 4 kB / 1.599 GB, free: 11.36 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.823, allocations: 7.938 kB / 1.599 GB, free: 11.35 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.823, allocations: 8 kB / 1.599 GB, free: 11.34 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.8238, allocations: 155.8 kB / 1.599 GB, free: 11.19 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.8238, allocations: 11.98 kB / 1.599 GB, free: 11.18 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/0.8246, allocations: 59.52 kB / 1.599 GB, free: 11.12 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.8247, allocations: 24 kB / 1.599 GB, free: 11.1 MB / 1.295 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.0007089/0.8254, allocations: 341.6 kB / 1.6 GB, free: 10.75 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.8255, allocations: 83.48 kB / 1.6 GB, free: 10.67 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.8258, allocations: 111.7 kB / 1.6 GB, free: 10.56 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.8258, allocations: 8 kB / 1.6 GB, free: 10.55 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.8258, allocations: 0 / 1.6 GB, free: 10.55 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/0.8274, allocations: 1.093 MB / 1.601 GB, free: 9.371 MB / 1.295 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.003935/0.8314, allocations: 2.279 MB / 1.603 GB, free: 7.012 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.8314, allocations: 4.031 kB / 1.603 GB, free: 7.008 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.8322, allocations: 171.8 kB / 1.603 GB, free: 6.84 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.8323, allocations: 4 kB / 1.603 GB, free: 6.836 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.8323, allocations: 20 kB / 1.603 GB, free: 6.816 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.8323, allocations: 0 / 1.603 GB, free: 6.816 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.8323, allocations: 4 kB / 1.603 GB, free: 6.812 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.8344, allocations: 1.363 MB / 1.605 GB, free: 5.426 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.8349, allocations: 183.3 kB / 1.605 GB, free: 5.246 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.8351, allocations: 12 kB / 1.605 GB, free: 5.234 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.8356, allocations: 28.11 kB / 1.605 GB, free: 5.207 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.8357, allocations: 44.56 kB / 1.605 GB, free: 5.164 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.8358, allocations: 31.98 kB / 1.605 GB, free: 5.133 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0005872/0.8364, allocations: 411 kB / 1.605 GB, free: 4.734 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.8364, allocations: 3.938 kB / 1.605 GB, free: 4.73 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001092/0.8375, allocations: 379.2 kB / 1.606 GB, free: 4.359 MB / 1.295 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.0003784/0.8379, allocations: 171 kB / 1.606 GB, free: 4.184 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001351/0.8392, allocations: 0.7629 MB / 1.607 GB, free: 3.422 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8392, allocations: 0 / 1.607 GB, free: 3.422 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.8398, allocations: 411.5 kB / 1.607 GB, free: 3.02 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.8424, allocations: 0.5899 MB / 1.608 GB, free: 2.445 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.8468, allocations: 2.262 MB / 1.61 GB, free: 148 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8864/1.733, allocations: 1.141 MB / 1.611 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/1.734, allocations: 81.3 kB / 1.611 GB, free: 255.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.493e-06/1.734, allocations: 0 / 1.611 GB, free: 255.6 MB / 1.295 GB Notification: Performance of Templates: time 0.04074/1.775, allocations: 15.94 MB / 1.627 GB, free: 254 MB / 1.295 GB " [Timeout remaining time 298] 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.190116465993924]