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.001448/0.001448, allocations: 110.5 kB / 16.41 MB, free: 6.453 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.001573/0.001573, allocations: 188.1 kB / 17.34 MB, free: 5.738 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.614/1.614, allocations: 222.9 MB / 241 MB, free: 15.16 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.563/2.563, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 67.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2967/1.498, allocations: 204.2 MB / 1.288 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01301/1.512, allocations: 6.366 MB / 1.294 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/1.514, allocations: 35.81 kB / 1.294 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/1.517, allocations: 0.7265 MB / 1.295 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009003/1.526, allocations: 2.687 MB / 1.298 GB, free: 7.551 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.002695/1.529, allocations: 0.7142 MB / 1.298 GB, free: 6.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006035/1.535, allocations: 3.279 MB / 1.301 GB, free: 3.551 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/1.537, allocations: 1.148 MB / 1.303 GB, free: 2.383 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003584/1.541, allocations: 1.261 MB / 1.304 GB, free: 1.117 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003347/1.544, allocations: 1.095 MB / 1.305 GB, free: 24 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0006347/1.545, allocations: 128 kB / 1.305 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006352/1.551, allocations: 2.358 MB / 1.307 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001158/1.552, allocations: 0.5104 MB / 1.308 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/1.555, allocations: 0.7391 MB / 1.309 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008003/1.563, allocations: 2.793 MB / 1.311 GB, free: 9.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.563, allocations: 11.94 kB / 1.311 GB, free: 9.469 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.184e-06/1.563, allocations: 0 / 1.311 GB, free: 9.469 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.299e-05/1.563, allocations: 0 / 1.311 GB, free: 9.469 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.006461/1.569, allocations: 1.765 MB / 1.313 GB, free: 7.648 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.569, allocations: 12.03 kB / 1.313 GB, free: 7.637 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/1.572, allocations: 342.2 kB / 1.313 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/1.574, allocations: 0.8895 MB / 1.314 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/1.574, allocations: 70.02 kB / 1.314 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/1.575, allocations: 104 kB / 1.314 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/1.578, allocations: 1.191 MB / 1.316 GB, free: 4.973 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/1.578, allocations: 4 kB / 1.316 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/1.578, allocations: 43.98 kB / 1.316 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.103e-05/1.578, allocations: 62.06 kB / 1.316 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/1.58, allocations: 1.249 MB / 1.317 GB, free: 3.605 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.00882/1.589, allocations: 5.093 MB / 1.322 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/1.591, allocations: 1.163 MB / 1.323 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/1.592, allocations: 0.5051 MB / 1.323 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.249e-05/1.592, allocations: 24.78 kB / 1.323 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008829/1.593, allocations: 484.2 kB / 1.324 GB, free: 11.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 4.548e-06/1.593, allocations: 0 / 1.324 GB, free: 11.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.002349/1.595, allocations: 1.165 MB / 1.325 GB, free: 10.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/1.595, allocations: 60.06 kB / 1.325 GB, free: 10.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/1.596, allocations: 0.5706 MB / 1.326 GB, free: 9.973 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.597, allocations: 45.7 kB / 1.326 GB, free: 9.922 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/1.597, allocations: 463.5 kB / 1.326 GB, free: 9.461 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/1.597, allocations: 268.1 kB / 1.326 GB, free: 9.195 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/1.598, allocations: 134.6 kB / 1.327 GB, free: 9.059 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002351/1.598, allocations: 378.8 kB / 1.327 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/1.598, allocations: 333.8 kB / 1.327 GB, free: 8.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/1.599, allocations: 456.7 kB / 1.328 GB, free: 7.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.6, allocations: 0.8155 MB / 1.328 GB, free: 7.016 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.6, allocations: 0 / 1.328 GB, free: 7.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001661/1.602, allocations: 0.9297 MB / 1.329 GB, free: 6.078 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.602, allocations: 8 kB / 1.329 GB, free: 6.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.602, allocations: 3.938 kB / 1.329 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.602, allocations: 8 kB / 1.329 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/1.603, allocations: 160.1 kB / 1.33 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/1.603, allocations: 8 kB / 1.33 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/1.604, allocations: 63.28 kB / 1.33 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/1.604, allocations: 27.98 kB / 1.33 GB, free: 5.805 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.0007109/1.605, allocations: 329.5 kB / 1.33 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/1.605, allocations: 79.06 kB / 1.33 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/1.605, allocations: 115.7 kB / 1.33 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/1.605, allocations: 4 kB / 1.33 GB, free: 5.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.605, allocations: 4 kB / 1.33 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/1.607, allocations: 1.089 MB / 1.331 GB, free: 4.09 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.00375/1.61, allocations: 2.314 MB / 1.333 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.611, allocations: 0 / 1.333 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/1.611, allocations: 171.8 kB / 1.334 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/1.611, allocations: 4 kB / 1.334 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/1.611, allocations: 16 kB / 1.334 GB, free: 1.492 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/1.612, allocations: 8.031 kB / 1.334 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.612, allocations: 4 kB / 1.334 GB, free: 1.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/1.614, allocations: 1.351 MB / 1.335 GB, free: 112 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/1.614, allocations: 260.1 kB / 1.335 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.614, allocations: 12 kB / 1.335 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/1.615, allocations: 23.98 kB / 1.335 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.615, allocations: 44.59 kB / 1.335 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/1.615, allocations: 27.98 kB / 1.335 GB, free: 15.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006087/1.616, allocations: 415 kB / 1.336 GB, free: 15.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.616, allocations: 0 / 1.336 GB, free: 15.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001167/1.617, allocations: 374.9 kB / 1.336 GB, free: 14.96 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.0003717/1.617, allocations: 179.1 kB / 1.336 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001382/1.619, allocations: 0.798 MB / 1.337 GB, free: 13.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/1.619, allocations: 4.688 kB / 1.337 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/1.62, allocations: 431.5 kB / 1.337 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/1.622, allocations: 0.5804 MB / 1.338 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/1.627, allocations: 2.236 MB / 1.34 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.628, allocations: 1.14 MB / 1.341 GB, free: 9.543 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/1.628, allocations: 83.42 kB / 1.341 GB, free: 9.465 MB / 1.076 GB Notification: Performance of SimCode: time 7.92e-07/1.628, allocations: 0 / 1.341 GB, free: 9.465 MB / 1.076 GB Notification: Performance of Templates: time 0.02886/1.657, allocations: 15.84 MB / 1.357 GB, free: 9.742 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