Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 103.5 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.919/2.919, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 75.84 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4598, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.115/1.575, allocations: 201.6 MB / 1.261 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01242/1.587, allocations: 6.332 MB / 1.267 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/1.59, allocations: 35.81 kB / 1.267 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/1.592, allocations: 0.665 MB / 1.268 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00913/1.601, allocations: 2.514 MB / 1.27 GB, free: 5.953 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.002562/1.604, allocations: 0.6503 MB / 1.271 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006447/1.61, allocations: 3.273 MB / 1.274 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/1.613, allocations: 1.115 MB / 1.275 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/1.617, allocations: 1.257 MB / 1.276 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/1.621, allocations: 1.172 MB / 1.278 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002786/1.621, allocations: 128 kB / 1.278 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006135/1.627, allocations: 2.47 MB / 1.28 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008058/1.628, allocations: 0.5181 MB / 1.281 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.63, allocations: 0.7391 MB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003949/1.634, allocations: 2.089 MB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.634, allocations: 4 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.524e-06/1.634, allocations: 0 / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.677e-05/1.634, allocations: 0 / 1.283 GB, free: 8.504 MB / 0.9981 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.004524/1.638, allocations: 1.769 MB / 1.285 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.638, allocations: 8.031 kB / 1.285 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/1.64, allocations: 350.2 kB / 1.285 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/1.642, allocations: 0.8389 MB / 1.286 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/1.642, allocations: 74.02 kB / 1.286 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/1.642, allocations: 99.98 kB / 1.286 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/1.644, allocations: 1.191 MB / 1.288 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/1.644, allocations: 3.984 kB / 1.288 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.644, allocations: 43.98 kB / 1.288 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.679e-05/1.644, allocations: 62.06 kB / 1.288 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.646, allocations: 1.242 MB / 1.289 GB, free: 2.691 MB / 0.9981 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.007123/1.654, allocations: 5.074 MB / 1.294 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.655, allocations: 1.167 MB / 1.295 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/1.656, allocations: 0.4973 MB / 1.296 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.778e-05/1.656, allocations: 20.78 kB / 1.296 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008065/1.657, allocations: 488.2 kB / 1.296 GB, free: 10.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.466e-06/1.657, allocations: 0 / 1.296 GB, free: 10.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002152/1.659, allocations: 1.153 MB / 1.297 GB, free: 9.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.659, allocations: 64 kB / 1.297 GB, free: 9.676 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/1.66, allocations: 0.5706 MB / 1.298 GB, free: 9.094 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/1.66, allocations: 45.7 kB / 1.298 GB, free: 9.043 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/1.66, allocations: 463.5 kB / 1.298 GB, free: 8.582 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/1.661, allocations: 276.1 kB / 1.298 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.661, allocations: 126.7 kB / 1.299 GB, free: 8.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002189/1.661, allocations: 386.8 kB / 1.299 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/1.662, allocations: 333.8 kB / 1.299 GB, free: 7.465 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/1.662, allocations: 448.8 kB / 1.3 GB, free: 6.988 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/1.664, allocations: 0.8194 MB / 1.301 GB, free: 6.137 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.664, allocations: 0 / 1.301 GB, free: 6.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001546/1.665, allocations: 0.9335 MB / 1.301 GB, free: 5.195 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/1.665, allocations: 8 kB / 1.301 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.665, allocations: 4 kB / 1.301 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.665, allocations: 7.938 kB / 1.301 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/1.666, allocations: 160.6 kB / 1.302 GB, free: 5.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.666, allocations: 4.344 kB / 1.302 GB, free: 5.016 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.667, allocations: 163.2 kB / 1.302 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/1.667, allocations: 28 kB / 1.302 GB, free: 4.828 MB / 1.014 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.0005801/1.668, allocations: 334.3 kB / 1.302 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.668, allocations: 79.06 kB / 1.302 GB, free: 4.414 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/1.668, allocations: 103.8 kB / 1.302 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.668, allocations: 11.94 kB / 1.302 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.668, allocations: 0 / 1.302 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/1.67, allocations: 1.097 MB / 1.303 GB, free: 3.109 MB / 1.014 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.0041/1.674, allocations: 2.31 MB / 1.306 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.674, allocations: 7.938 kB / 1.306 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008923/1.675, allocations: 171.8 kB / 1.306 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/1.675, allocations: 4 kB / 1.306 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/1.675, allocations: 15.98 kB / 1.306 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.675, allocations: 10.12 kB / 1.306 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.675, allocations: 0 / 1.306 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/1.677, allocations: 1.35 MB / 1.307 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/1.678, allocations: 252 kB / 1.307 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/1.678, allocations: 20.12 kB / 1.307 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.679, allocations: 99.75 kB / 1.307 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.679, allocations: 48.59 kB / 1.308 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/1.679, allocations: 23.98 kB / 1.308 GB, free: 14.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006154/1.68, allocations: 411.1 kB / 1.308 GB, free: 14.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.605e-06/1.68, allocations: 4 kB / 1.308 GB, free: 14.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001223/1.681, allocations: 371 kB / 1.308 GB, free: 13.92 MB / 1.029 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.0004018/1.681, allocations: 180.5 kB / 1.308 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002077/1.683, allocations: 1.032 MB / 1.309 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.683, allocations: 0 / 1.309 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006327/1.684, allocations: 427.5 kB / 1.31 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.687, allocations: 0.5912 MB / 1.31 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/1.692, allocations: 2.697 MB / 1.313 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.693, allocations: 1.14 MB / 1.314 GB, free: 7.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/1.693, allocations: 79.42 kB / 1.314 GB, free: 7.723 MB / 1.029 GB Notification: Performance of SimCode: time 1.443e-06/1.693, allocations: 0 / 1.314 GB, free: 7.723 MB / 1.029 GB Notification: Performance of Templates: time 0.03236/1.725, allocations: 15.76 MB / 1.33 GB, free: 8.07 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches