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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001931/0.001931, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002071/0.002071, allocations: 198.6 kB / 16.14 MB, free: 6.699 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.682/1.682, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.237/3.237, allocations: 482.4 MB / 0.7542 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 66.2 kB / 0.9231 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4191, allocations: 162.2 MB / 1.082 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.052/1.472, allocations: 202 MB / 1.279 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0121/1.484, allocations: 6.471 MB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002645/1.487, allocations: 30.75 kB / 1.285 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/1.489, allocations: 0.6439 MB / 1.286 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008978/1.498, allocations: 2.52 MB / 1.288 GB, free: 6.797 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002392/1.5, allocations: 0.632 MB / 1.289 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008181/1.509, allocations: 4.748 MB / 1.294 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/1.511, allocations: 0.9679 MB / 1.294 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004428/1.515, allocations: 1.196 MB / 1.296 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004371/1.52, allocations: 1.131 MB / 1.297 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004672/1.52, allocations: 72.44 kB / 1.297 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007689/1.528, allocations: 2.721 MB / 1.299 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/1.529, allocations: 474 kB / 1.3 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/1.531, allocations: 0.6792 MB / 1.301 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007695/1.538, allocations: 2.897 MB / 1.303 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.538, allocations: 3.938 kB / 1.303 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.335e-06/1.538, allocations: 0 / 1.303 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.52e-05/1.539, allocations: 0 / 1.303 GB, free: 6.184 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.005863/1.544, allocations: 1.771 MB / 1.305 GB, free: 21.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.544, allocations: 12.53 kB / 1.305 GB, free: 21.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002556/1.547, allocations: 344.5 kB / 1.305 GB, free: 21.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/1.549, allocations: 0.8377 MB / 1.306 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.317e-05/1.549, allocations: 76.23 kB / 1.306 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/1.549, allocations: 104.5 kB / 1.306 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/1.551, allocations: 1.191 MB / 1.308 GB, free: 20.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/1.551, allocations: 11.03 kB / 1.308 GB, free: 20.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.551, allocations: 43.75 kB / 1.308 GB, free: 20.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-05/1.552, allocations: 59.48 kB / 1.308 GB, free: 20.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/1.554, allocations: 1.248 MB / 1.309 GB, free: 20.84 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.008433/1.562, allocations: 5.224 MB / 1.314 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/1.564, allocations: 1.162 MB / 1.315 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007556/1.564, allocations: 0.5 MB / 1.316 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.548e-05/1.565, allocations: 17.44 kB / 1.316 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008073/1.565, allocations: 481.2 kB / 1.316 GB, free: 17.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 4.94e-06/1.565, allocations: 0 / 1.316 GB, free: 17.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002298/1.568, allocations: 1.158 MB / 1.317 GB, free: 17.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.568, allocations: 62.27 kB / 1.317 GB, free: 17.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/1.569, allocations: 0.5725 MB / 1.318 GB, free: 17.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/1.569, allocations: 39.98 kB / 1.318 GB, free: 17.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/1.569, allocations: 468.4 kB / 1.318 GB, free: 17.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/1.569, allocations: 265.3 kB / 1.319 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/1.57, allocations: 129.8 kB / 1.319 GB, free: 16.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.57, allocations: 393.5 kB / 1.319 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/1.57, allocations: 335.3 kB / 1.319 GB, free: 16.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/1.571, allocations: 447.3 kB / 1.32 GB, free: 16.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/1.572, allocations: 0.8283 MB / 1.321 GB, free: 16.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.572, allocations: 1.656 kB / 1.321 GB, free: 16.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00168/1.574, allocations: 0.929 MB / 1.322 GB, free: 16.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.574, allocations: 10.34 kB / 1.322 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.574, allocations: 2.406 kB / 1.322 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/1.574, allocations: 6.438 kB / 1.322 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/1.575, allocations: 151.2 kB / 1.322 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/1.575, allocations: 14.77 kB / 1.322 GB, free: 16.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.576, allocations: 163.7 kB / 1.322 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/1.576, allocations: 31.91 kB / 1.322 GB, free: 16.23 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.0007359/1.577, allocations: 326.6 kB / 1.322 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/1.577, allocations: 82.95 kB / 1.322 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/1.577, allocations: 105 kB / 1.322 GB, free: 16.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/1.577, allocations: 7.625 kB / 1.322 GB, free: 16.06 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.102e-05/1.577, allocations: 2.844 kB / 1.322 GB, free: 16.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/1.579, allocations: 1.088 MB / 1.324 GB, free: 15.61 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.004232/1.583, allocations: 2.307 MB / 1.326 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.583, allocations: 0 / 1.326 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/1.584, allocations: 183.3 kB / 1.326 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/1.584, allocations: 9.812 kB / 1.326 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/1.584, allocations: 17.56 kB / 1.326 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/1.584, allocations: 3.031 kB / 1.326 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.584, allocations: 1.281 kB / 1.326 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/1.586, allocations: 1.354 MB / 1.327 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009206/1.587, allocations: 253.1 kB / 1.328 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/1.587, allocations: 17.16 kB / 1.328 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.589, allocations: 100.9 kB / 1.328 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.589, allocations: 45.98 kB / 1.328 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/1.589, allocations: 26.58 kB / 1.328 GB, free: 13.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007412/1.59, allocations: 409.2 kB / 1.328 GB, free: 13.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.59, allocations: 0 / 1.328 GB, free: 13.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001778/1.592, allocations: 369.7 kB / 1.328 GB, free: 13.32 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.0004737/1.592, allocations: 187.6 kB / 1.329 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001626/1.594, allocations: 0.7955 MB / 1.329 GB, free: 12.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.594, allocations: 4.188 kB / 1.329 GB, free: 12.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/1.594, allocations: 424.2 kB / 1.33 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/1.597, allocations: 0.5699 MB / 1.33 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/1.602, allocations: 2.624 MB / 1.333 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.603, allocations: 1.138 MB / 1.334 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001293/1.604, allocations: 272.6 kB / 1.334 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/1.604, allocations: 78.45 kB / 1.334 GB, free: 10.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.773e-06/1.604, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.014 GB Notification: Performance of Templates: time 0.03659/1.641, allocations: 18.25 MB / 1.352 GB, free: 4.32 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches