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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 190 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.321/3.321, allocations: 495.7 MB / 0.7831 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=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: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 67.98 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.5703, allocations: 173.6 MB / 1.307 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2652/0.8355, allocations: 205.4 MB / 1.508 GB, free: 3.727 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.8483, allocations: 6.412 MB / 1.514 GB, free: 13.3 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.8504, allocations: 51.62 kB / 1.514 GB, free: 13.25 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.8527, allocations: 0.7616 MB / 1.515 GB, free: 12.48 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008278/0.861, allocations: 2.832 MB / 1.517 GB, free: 9.637 MB / 1.217 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002415/0.8634, allocations: 0.7489 MB / 1.518 GB, free: 8.898 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0057/0.8691, allocations: 3.352 MB / 1.521 GB, free: 5.535 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.8707, allocations: 0.8208 MB / 1.522 GB, free: 4.691 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.8743, allocations: 1.425 MB / 1.524 GB, free: 3.262 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.8774, allocations: 1.148 MB / 1.525 GB, free: 2.113 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.8777, allocations: 128 kB / 1.525 GB, free: 1.988 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006719/0.8844, allocations: 2.556 MB / 1.527 GB, free: 15.43 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.8854, allocations: 0.5219 MB / 1.528 GB, free: 14.9 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.8869, allocations: 0.7391 MB / 1.529 GB, free: 14.16 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007103/0.894, allocations: 2.808 MB / 1.531 GB, free: 11.34 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.894, allocations: 0 / 1.531 GB, free: 11.34 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.514e-06/0.894, allocations: 0 / 1.531 GB, free: 11.34 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.959e-05/0.894, allocations: 0 / 1.531 GB, free: 11.34 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.005117/0.8991, allocations: 1.738 MB / 1.533 GB, free: 9.566 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.8992, allocations: 8.031 kB / 1.533 GB, free: 9.559 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.9015, allocations: 358.9 kB / 1.533 GB, free: 9.207 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.9033, allocations: 0.8102 MB / 1.534 GB, free: 8.367 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.9034, allocations: 82 kB / 1.534 GB, free: 8.285 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.9035, allocations: 104 kB / 1.534 GB, free: 8.184 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.9057, allocations: 1.191 MB / 1.535 GB, free: 6.961 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.9057, allocations: 3.984 kB / 1.535 GB, free: 6.957 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.9058, allocations: 40 kB / 1.536 GB, free: 6.918 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-05/0.9059, allocations: 66 kB / 1.536 GB, free: 6.852 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.9079, allocations: 1.249 MB / 1.537 GB, free: 5.594 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.00764/0.9155, allocations: 5.197 MB / 1.542 GB, free: 15.91 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.917, allocations: 0.8373 MB / 1.543 GB, free: 15.06 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/0.9177, allocations: 485.2 kB / 1.543 GB, free: 14.59 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 5.964e-05/0.9177, allocations: 16.64 kB / 1.543 GB, free: 14.57 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007931/0.9185, allocations: 488.2 kB / 1.544 GB, free: 14.08 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 3.356e-06/0.9185, allocations: 0 / 1.544 GB, free: 14.08 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.002079/0.9206, allocations: 1.165 MB / 1.545 GB, free: 12.91 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.9207, allocations: 60.06 kB / 1.545 GB, free: 12.84 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.9214, allocations: 0.5783 MB / 1.545 GB, free: 12.25 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.9215, allocations: 41.7 kB / 1.545 GB, free: 12.2 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.9219, allocations: 468.8 kB / 1.546 GB, free: 11.74 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.9222, allocations: 285.5 kB / 1.546 GB, free: 11.46 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.9224, allocations: 134.6 kB / 1.546 GB, free: 11.32 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.9226, allocations: 382.8 kB / 1.547 GB, free: 10.94 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.9231, allocations: 333.8 kB / 1.547 GB, free: 10.61 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.9237, allocations: 448.7 kB / 1.547 GB, free: 10.14 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.9249, allocations: 0.8233 MB / 1.548 GB, free: 9.277 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.9249, allocations: 0 / 1.548 GB, free: 9.277 MB / 1.248 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001461/0.9263, allocations: 0.93 MB / 1.549 GB, free: 8.34 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.9264, allocations: 12.33 kB / 1.549 GB, free: 8.328 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9264, allocations: 11.94 kB / 1.549 GB, free: 8.316 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.9264, allocations: 4 kB / 1.549 GB, free: 8.312 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.9271, allocations: 155.8 kB / 1.549 GB, free: 8.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.9271, allocations: 4 kB / 1.549 GB, free: 8.156 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.9279, allocations: 67.5 kB / 1.549 GB, free: 8.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.928, allocations: 28 kB / 1.549 GB, free: 8.062 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.0005766/0.9285, allocations: 329.5 kB / 1.55 GB, free: 7.73 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.9287, allocations: 83.48 kB / 1.55 GB, free: 7.648 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.9289, allocations: 115.7 kB / 1.55 GB, free: 7.531 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.929, allocations: 4 kB / 1.55 GB, free: 7.527 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.929, allocations: 11.94 kB / 1.55 GB, free: 7.516 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/0.9304, allocations: 1.089 MB / 1.551 GB, free: 6.34 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.003451/0.9338, allocations: 2.276 MB / 1.553 GB, free: 3.984 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.9338, allocations: 4 kB / 1.553 GB, free: 3.98 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/0.9346, allocations: 179.8 kB / 1.553 GB, free: 3.805 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/0.9346, allocations: 0 / 1.553 GB, free: 3.805 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.9347, allocations: 19.98 kB / 1.553 GB, free: 3.785 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.9347, allocations: 4 kB / 1.553 GB, free: 3.781 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.9347, allocations: 0 / 1.553 GB, free: 3.781 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.9366, allocations: 1.359 MB / 1.555 GB, free: 2.402 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.9371, allocations: 183.3 kB / 1.555 GB, free: 2.223 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.9372, allocations: 19.98 kB / 1.555 GB, free: 2.203 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.9378, allocations: 16 kB / 1.555 GB, free: 2.188 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.9379, allocations: 52.55 kB / 1.555 GB, free: 2.137 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.938, allocations: 23.98 kB / 1.555 GB, free: 2.113 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005267/0.9385, allocations: 411.1 kB / 1.555 GB, free: 1.715 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.9385, allocations: 0 / 1.555 GB, free: 1.715 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009261/0.9394, allocations: 375.2 kB / 1.556 GB, free: 1.348 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.0003061/0.9397, allocations: 179.8 kB / 1.556 GB, free: 1.164 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.9409, allocations: 0.7707 MB / 1.557 GB, free: 400 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.9409, allocations: 0 / 1.557 GB, free: 400 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.9415, allocations: 407.5 kB / 1.557 GB, free: 15.99 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.944, allocations: 0.5904 MB / 1.558 GB, free: 15.42 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.9477, allocations: 2.198 MB / 1.56 GB, free: 13.19 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.9485, allocations: 1.139 MB / 1.561 GB, free: 12.02 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009146/0.9494, allocations: 279.1 kB / 1.561 GB, free: 11.74 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.9496, allocations: 75.42 kB / 1.561 GB, free: 11.67 MB / 1.264 GB Notification: Performance of SimCode: time 8.42e-07/0.9496, allocations: 0 / 1.561 GB, free: 11.67 MB / 1.264 GB Notification: Performance of Templates: time 0.03604/0.9857, allocations: 19.88 MB / 1.581 GB, free: 7.996 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 -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: 11.38538898807019]