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.001731/0.001731, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002281/0.002281, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.736/1.736, allocations: 230.6 MB / 256 MB, free: 7.801 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.562/3.562, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002109/0.002109, allocations: 64.97 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5044/0.5065, allocations: 181.9 MB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2624/0.7689, allocations: 180.9 MB / 1.54 GB, free: 8.207 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.7809, allocations: 5.991 MB / 1.546 GB, free: 2.203 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.7827, allocations: 55.56 kB / 1.546 GB, free: 2.148 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.7849, allocations: 0.7032 MB / 1.547 GB, free: 1.441 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008736/0.7936, allocations: 2.805 MB / 1.55 GB, free: 14.62 MB / 1.248 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.002279/0.7959, allocations: 0.7269 MB / 1.55 GB, free: 13.9 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005173/0.8011, allocations: 3.321 MB / 1.554 GB, free: 10.57 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.8025, allocations: 0.8051 MB / 1.555 GB, free: 9.734 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.8057, allocations: 1.433 MB / 1.556 GB, free: 8.297 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.8084, allocations: 1.118 MB / 1.557 GB, free: 7.18 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.8086, allocations: 132 kB / 1.557 GB, free: 7.051 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.8133, allocations: 1.905 MB / 1.559 GB, free: 5.141 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007372/0.814, allocations: 0.5219 MB / 1.56 GB, free: 4.617 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.8151, allocations: 0.6226 MB / 1.56 GB, free: 3.992 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.8207, allocations: 2.726 MB / 1.563 GB, free: 1.262 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8207, allocations: 0 / 1.563 GB, free: 1.262 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8207, allocations: 0 / 1.563 GB, free: 1.262 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.961e-05/0.8207, allocations: 0 / 1.563 GB, free: 1.262 MB / 1.248 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.004255/0.825, allocations: 1.734 MB / 1.564 GB, free: 15.49 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.825, allocations: 12.03 kB / 1.564 GB, free: 15.48 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.8271, allocations: 350.9 kB / 1.565 GB, free: 15.13 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.8288, allocations: 0.818 MB / 1.566 GB, free: 14.29 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.8289, allocations: 78.02 kB / 1.566 GB, free: 14.21 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.8291, allocations: 104 kB / 1.566 GB, free: 14.11 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.8312, allocations: 1.392 MB / 1.567 GB, free: 12.63 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.8312, allocations: 0 / 1.567 GB, free: 12.63 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.8313, allocations: 39.98 kB / 1.567 GB, free: 12.59 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.057e-05/0.8314, allocations: 58.08 kB / 1.567 GB, free: 12.54 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.8334, allocations: 1.242 MB / 1.568 GB, free: 11.29 MB / 1.264 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.005726/0.8391, allocations: 2.973 MB / 1.571 GB, free: 8.266 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.8405, allocations: 0.8302 MB / 1.572 GB, free: 7.426 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007265/0.8412, allocations: 493.1 kB / 1.573 GB, free: 6.941 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.8413, allocations: 12.66 kB / 1.573 GB, free: 6.93 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008709/0.8422, allocations: 0.6737 MB / 1.573 GB, free: 6.191 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 2.906e-06/0.8422, allocations: 4 kB / 1.573 GB, free: 6.188 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002077/0.8443, allocations: 1.161 MB / 1.574 GB, free: 5.02 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.8443, allocations: 60.06 kB / 1.574 GB, free: 4.949 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.8449, allocations: 0.503 MB / 1.575 GB, free: 4.438 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.845, allocations: 37.7 kB / 1.575 GB, free: 4.395 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.8454, allocations: 480.8 kB / 1.575 GB, free: 3.918 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.8456, allocations: 285.5 kB / 1.576 GB, free: 3.637 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.8458, allocations: 126.7 kB / 1.576 GB, free: 3.508 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.846, allocations: 382.8 kB / 1.576 GB, free: 3.125 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.8465, allocations: 329.8 kB / 1.577 GB, free: 2.805 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.8471, allocations: 444.8 kB / 1.577 GB, free: 2.336 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.8483, allocations: 0.831 MB / 1.578 GB, free: 1.469 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.8483, allocations: 4 kB / 1.578 GB, free: 1.465 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001415/0.8497, allocations: 0.9301 MB / 1.579 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.8497, allocations: 8 kB / 1.579 GB, free: 0.5195 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8497, allocations: 4 kB / 1.579 GB, free: 0.5156 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.8498, allocations: 7.938 kB / 1.579 GB, free: 0.5078 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.8504, allocations: 159.8 kB / 1.579 GB, free: 360 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.8504, allocations: 4.344 kB / 1.579 GB, free: 356 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.8511, allocations: 55.61 kB / 1.579 GB, free: 300 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.8512, allocations: 28 kB / 1.579 GB, free: 272 kB / 1.264 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.0005179/0.8517, allocations: 335.7 kB / 1.579 GB, free: 15.93 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.8518, allocations: 75.53 kB / 1.579 GB, free: 15.86 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.852, allocations: 111.1 kB / 1.579 GB, free: 15.74 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.852, allocations: 11.94 kB / 1.579 GB, free: 15.73 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.8521, allocations: 0 / 1.579 GB, free: 15.73 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.8534, allocations: 1.093 MB / 1.581 GB, free: 14.55 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 postOpt removeSimpleEquations (simulation): time 0.003078/0.8565, allocations: 1.898 MB / 1.582 GB, free: 12.61 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.8565, allocations: 4 kB / 1.582 GB, free: 12.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.8573, allocations: 175.8 kB / 1.583 GB, free: 12.43 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.8573, allocations: 4 kB / 1.583 GB, free: 12.43 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.8573, allocations: 19.98 kB / 1.583 GB, free: 12.41 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.8573, allocations: 0 / 1.583 GB, free: 12.41 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8573, allocations: 4 kB / 1.583 GB, free: 12.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.8592, allocations: 1.344 MB / 1.584 GB, free: 11.04 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.8597, allocations: 179.4 kB / 1.584 GB, free: 10.86 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.8598, allocations: 12 kB / 1.584 GB, free: 10.85 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.8603, allocations: 27.92 kB / 1.584 GB, free: 10.82 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.8604, allocations: 52.44 kB / 1.584 GB, free: 10.77 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/0.8605, allocations: 24 kB / 1.584 GB, free: 10.75 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0004309/0.8609, allocations: 358.8 kB / 1.585 GB, free: 10.4 MB / 1.279 GB Notification: Performance of sort global known variables: time 6e-08/0.8609, allocations: 0 / 1.585 GB, free: 10.4 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009174/0.8618, allocations: 375.2 kB / 1.585 GB, free: 10.04 MB / 1.279 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.0002962/0.8621, allocations: 183 kB / 1.585 GB, free: 9.848 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.8634, allocations: 0.7635 MB / 1.586 GB, free: 9.082 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8634, allocations: 4.125 kB / 1.586 GB, free: 9.078 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.8639, allocations: 411.5 kB / 1.586 GB, free: 8.676 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.8662, allocations: 0.5358 MB / 1.587 GB, free: 8.156 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.8698, allocations: 2.19 MB / 1.589 GB, free: 5.93 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.8704, allocations: 0.5425 MB / 1.589 GB, free: 5.359 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000876/0.8713, allocations: 262.6 kB / 1.59 GB, free: 5.098 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.8715, allocations: 71.42 kB / 1.59 GB, free: 5.027 MB / 1.279 GB Notification: Performance of SimCode: time 7.51e-07/0.8715, allocations: 4 kB / 1.59 GB, free: 5.023 MB / 1.279 GB Notification: Performance of Templates: time 0.03418/0.9057, allocations: 20.39 MB / 1.61 GB, free: 1.047 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/jenkins/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: 12.495900062844157]