Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001205/0.001205, allocations: 107.3 kB / 16.41 MB, free: 6.469 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.001227/0.001227, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.168, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3011/1.47, allocations: 204.2 MB / 1.288 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01178/1.481, allocations: 6.378 MB / 1.294 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/1.484, allocations: 39.81 kB / 1.294 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/1.486, allocations: 0.7616 MB / 1.295 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009931/1.496, allocations: 2.765 MB / 1.298 GB, free: 7.453 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.00306/1.5, allocations: 0.7107 MB / 1.298 GB, free: 6.746 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006295/1.506, allocations: 3.286 MB / 1.302 GB, free: 3.445 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/1.508, allocations: 1.144 MB / 1.303 GB, free: 2.281 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/1.512, allocations: 1.292 MB / 1.304 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/1.516, allocations: 1.087 MB / 1.305 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005949/1.516, allocations: 128 kB / 1.305 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006552/1.523, allocations: 2.362 MB / 1.307 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/1.524, allocations: 0.5143 MB / 1.308 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/1.526, allocations: 0.7352 MB / 1.309 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008209/1.534, allocations: 2.801 MB / 1.311 GB, free: 9.344 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/1.535, allocations: 4 kB / 1.311 GB, free: 9.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.926e-06/1.535, allocations: 4 kB / 1.311 GB, free: 9.336 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.693e-05/1.535, allocations: 4 kB / 1.311 GB, free: 9.332 MB / 1.045 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.00691/1.542, allocations: 1.757 MB / 1.313 GB, free: 7.52 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/1.542, allocations: 12.03 kB / 1.313 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/1.544, allocations: 338.2 kB / 1.313 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/1.547, allocations: 0.8817 MB / 1.314 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.547, allocations: 78.02 kB / 1.314 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/1.547, allocations: 99.98 kB / 1.315 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/1.55, allocations: 1.199 MB / 1.316 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/1.55, allocations: 3.984 kB / 1.316 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/1.55, allocations: 44 kB / 1.316 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.203e-05/1.55, allocations: 62.06 kB / 1.316 GB, free: 4.734 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/1.553, allocations: 1.246 MB / 1.317 GB, free: 3.48 MB / 1.045 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.009131/1.562, allocations: 5.097 MB / 1.322 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/1.564, allocations: 1.167 MB / 1.323 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/1.565, allocations: 0.4973 MB / 1.324 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-05/1.565, allocations: 20.8 kB / 1.324 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00096/1.566, allocations: 496.2 kB / 1.324 GB, free: 11.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 3.666e-06/1.566, allocations: 0 / 1.324 GB, free: 11.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.002562/1.569, allocations: 1.153 MB / 1.325 GB, free: 10.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/1.569, allocations: 60.06 kB / 1.325 GB, free: 10.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.57, allocations: 0.5745 MB / 1.326 GB, free: 9.848 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/1.57, allocations: 45.64 kB / 1.326 GB, free: 9.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004867/1.57, allocations: 467.5 kB / 1.326 GB, free: 9.332 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/1.571, allocations: 264.1 kB / 1.327 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.571, allocations: 130.6 kB / 1.327 GB, free: 8.938 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00025/1.571, allocations: 386.8 kB / 1.327 GB, free: 8.551 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/1.572, allocations: 329.8 kB / 1.327 GB, free: 8.227 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/1.573, allocations: 448.8 kB / 1.328 GB, free: 7.746 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.574, allocations: 0.8271 MB / 1.329 GB, free: 6.887 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.574, allocations: 0 / 1.329 GB, free: 6.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001595/1.575, allocations: 0.9258 MB / 1.33 GB, free: 5.953 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.575, allocations: 8 kB / 1.33 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.576, allocations: 3.938 kB / 1.33 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/1.576, allocations: 8 kB / 1.33 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/1.576, allocations: 155.8 kB / 1.33 GB, free: 5.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/1.576, allocations: 20.25 kB / 1.33 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/1.577, allocations: 63.28 kB / 1.33 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/1.577, allocations: 24 kB / 1.33 GB, free: 5.676 MB / 1.061 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.0006459/1.578, allocations: 329.6 kB / 1.33 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/1.578, allocations: 79.06 kB / 1.33 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/1.578, allocations: 111.7 kB / 1.33 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.578, allocations: 8 kB / 1.33 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/1.578, allocations: 0 / 1.33 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/1.58, allocations: 1.093 MB / 1.331 GB, free: 3.961 MB / 1.061 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.003498/1.583, allocations: 2.306 MB / 1.334 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.583, allocations: 4 kB / 1.334 GB, free: 1.555 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/1.584, allocations: 175.8 kB / 1.334 GB, free: 1.383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/1.584, allocations: 4 kB / 1.334 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/1.584, allocations: 15.98 kB / 1.334 GB, free: 1.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.584, allocations: 4 kB / 1.334 GB, free: 1.359 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.584, allocations: 7.969 kB / 1.334 GB, free: 1.352 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/1.586, allocations: 1.355 MB / 1.335 GB, free: 15.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/1.586, allocations: 248 kB / 1.335 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.587, allocations: 23.98 kB / 1.335 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/1.587, allocations: 12.75 kB / 1.335 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.587, allocations: 56.58 kB / 1.335 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/1.587, allocations: 23.98 kB / 1.335 GB, free: 15.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005273/1.588, allocations: 411.1 kB / 1.336 GB, free: 15.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/1.588, allocations: 0 / 1.336 GB, free: 15.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001056/1.589, allocations: 374.9 kB / 1.336 GB, free: 14.83 MB / 1.076 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.0003749/1.589, allocations: 183 kB / 1.336 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.591, allocations: 0.798 MB / 1.337 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.591, allocations: 0 / 1.337 GB, free: 13.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005648/1.591, allocations: 428.2 kB / 1.338 GB, free: 13.43 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.594, allocations: 0.5953 MB / 1.338 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/1.598, allocations: 2.24 MB / 1.34 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/1.598, allocations: 1.139 MB / 1.341 GB, free: 9.406 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/1.599, allocations: 75.44 kB / 1.342 GB, free: 9.336 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.599, allocations: 0 / 1.342 GB, free: 9.336 MB / 1.076 GB Notification: Performance of Templates: time 0.02712/1.626, allocations: 15.85 MB / 1.357 GB, free: 9.605 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches