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) 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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=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_latest_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_latest_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.0023/0.0023, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003265/0.003265, allocations: 198.7 kB / 16.79 MB, free: 6.828 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.547/1.547, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.987/2.987, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.2 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3913, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.136/1.527, allocations: 201.9 MB / 1.25 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00995/1.537, allocations: 6.46 MB / 1.256 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/1.539, allocations: 33.62 kB / 1.256 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/1.541, allocations: 0.64 MB / 1.257 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007557/1.548, allocations: 2.527 MB / 1.259 GB, free: 2.141 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.002159/1.55, allocations: 0.6299 MB / 1.26 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006482/1.557, allocations: 4.836 MB / 1.265 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/1.559, allocations: 0.9656 MB / 1.266 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/1.562, allocations: 1.076 MB / 1.267 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/1.566, allocations: 1.158 MB / 1.268 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002981/1.566, allocations: 71.22 kB / 1.268 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008259/1.575, allocations: 2.724 MB / 1.271 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/1.576, allocations: 471.3 kB / 1.271 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002006/1.578, allocations: 0.6787 MB / 1.272 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/1.583, allocations: 2.066 MB / 1.274 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/1.583, allocations: 0 / 1.274 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/1.583, allocations: 1.203 kB / 1.274 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.089e-05/1.583, allocations: 4 kB / 1.274 GB, free: 1.832 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.006601/1.59, allocations: 1.767 MB / 1.275 GB, free: 17.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.59, allocations: 15.81 kB / 1.275 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/1.593, allocations: 346.3 kB / 1.276 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/1.594, allocations: 0.8319 MB / 1.277 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/1.595, allocations: 80.31 kB / 1.277 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/1.595, allocations: 107.1 kB / 1.277 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/1.597, allocations: 1.19 MB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/1.597, allocations: 4.609 kB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.597, allocations: 44.55 kB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.988e-05/1.597, allocations: 59.61 kB / 1.278 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/1.599, allocations: 1.248 MB / 1.279 GB, free: 16.51 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 preOpt removeSimpleEquations (simulation): time 0.007497/1.607, allocations: 5.07 MB / 1.284 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.609, allocations: 1.164 MB / 1.285 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/1.609, allocations: 0.5063 MB / 1.286 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/1.609, allocations: 19.09 kB / 1.286 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008331/1.61, allocations: 492.3 kB / 1.286 GB, free: 13.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/1.61, allocations: 2.281 kB / 1.286 GB, free: 13.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002282/1.613, allocations: 1.152 MB / 1.287 GB, free: 13.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.613, allocations: 61.91 kB / 1.287 GB, free: 13.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/1.613, allocations: 0.5739 MB / 1.288 GB, free: 13.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/1.614, allocations: 40.73 kB / 1.288 GB, free: 13.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/1.614, allocations: 458.7 kB / 1.289 GB, free: 13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/1.614, allocations: 273.3 kB / 1.289 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/1.614, allocations: 130 kB / 1.289 GB, free: 12.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.615, allocations: 388.7 kB / 1.289 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/1.615, allocations: 327.7 kB / 1.29 GB, free: 12.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/1.616, allocations: 454.8 kB / 1.29 GB, free: 12.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.617, allocations: 0.8226 MB / 1.291 GB, free: 12.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.617, allocations: 1.062 kB / 1.291 GB, free: 12.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001541/1.619, allocations: 0.9282 MB / 1.292 GB, free: 12.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.619, allocations: 7.406 kB / 1.292 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.619, allocations: 2.281 kB / 1.292 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/1.619, allocations: 8.453 kB / 1.292 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/1.619, allocations: 157.2 kB / 1.292 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.619, allocations: 6.672 kB / 1.292 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/1.621, allocations: 165.5 kB / 1.292 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/1.621, allocations: 27.59 kB / 1.292 GB, free: 12.13 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.0006239/1.621, allocations: 329.6 kB / 1.292 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.622, allocations: 80.16 kB / 1.292 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/1.622, allocations: 115.2 kB / 1.293 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.622, allocations: 9.156 kB / 1.293 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/1.622, allocations: 0 / 1.293 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001376/1.623, allocations: 1.088 MB / 1.294 GB, free: 11.5 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.003752/1.627, allocations: 2.307 MB / 1.296 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.627, allocations: 2.312 kB / 1.296 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008463/1.628, allocations: 179 kB / 1.296 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.628, allocations: 2.5 kB / 1.296 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/1.628, allocations: 23 kB / 1.296 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/1.628, allocations: 2.625 kB / 1.296 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.628, allocations: 2.312 kB / 1.296 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/1.63, allocations: 1.348 MB / 1.297 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/1.63, allocations: 257.6 kB / 1.298 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.63, allocations: 23.31 kB / 1.298 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/1.631, allocations: 99.28 kB / 1.298 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.631, allocations: 44.72 kB / 1.298 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/1.631, allocations: 31.97 kB / 1.298 GB, free: 10.61 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005431/1.632, allocations: 406.5 kB / 1.298 GB, free: 10.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.632, allocations: 0 / 1.298 GB, free: 10.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001387/1.633, allocations: 363.6 kB / 1.299 GB, free: 10.47 MB / 1.014 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.0003497/1.634, allocations: 183.6 kB / 1.299 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001249/1.635, allocations: 0.8007 MB / 1.3 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.635, allocations: 1.094 kB / 1.3 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006168/1.636, allocations: 428.1 kB / 1.3 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/1.639, allocations: 0.5601 MB / 1.301 GB, free: 10.31 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/1.644, allocations: 2.695 MB / 1.303 GB, free: 8.922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/1.645, allocations: 1.142 MB / 1.304 GB, free: 8.207 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.645, allocations: 87.83 kB / 1.304 GB, free: 8.195 MB / 1.014 GB Notification: Performance of SimCode: time 7.22e-07/1.645, allocations: 0 / 1.304 GB, free: 8.195 MB / 1.014 GB Notification: Performance of Templates: time 0.02769/1.673, allocations: 15.73 MB / 1.32 GB, free: 6.125 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) 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) Reference file matches