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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00132/0.00132, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001897/0.001897, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.802/2.802, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7049, allocations: 142.4 MB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1962/0.9012, allocations: 185.9 MB / 1.136 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008652/0.9099, allocations: 5.978 MB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.9109, allocations: 31.81 kB / 1.142 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.9122, allocations: 489.1 kB / 1.142 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.9168, allocations: 1.938 MB / 1.144 GB, free: 12.67 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00132/0.9181, allocations: 0.4925 MB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003992/0.9221, allocations: 4.025 MB / 1.149 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.9233, allocations: 0.8211 MB / 1.149 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.925, allocations: 1.062 MB / 1.15 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.9263, allocations: 1.047 MB / 1.151 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.9264, allocations: 60 kB / 1.152 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.9292, allocations: 1.13 MB / 1.153 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004595/0.9297, allocations: 442.7 kB / 1.153 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.93, allocations: 289.1 kB / 1.153 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.9322, allocations: 1.843 MB / 1.155 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.9322, allocations: 0 / 1.155 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9322, allocations: 0 / 1.155 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.9323, allocations: 0 / 1.155 GB, free: 1.434 MB / 0.9044 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.003554/0.9358, allocations: 1.527 MB / 1.157 GB, free: 15.85 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.9359, allocations: 16.03 kB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.9379, allocations: 350.1 kB / 1.157 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.9392, allocations: 0.816 MB / 1.158 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.9392, allocations: 78 kB / 1.158 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.9394, allocations: 95.95 kB / 1.158 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.9414, allocations: 1.183 MB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.9414, allocations: 8 kB / 1.159 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.9415, allocations: 40 kB / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.202e-05/0.9416, allocations: 62.06 kB / 1.159 GB, free: 13.13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.9434, allocations: 1.242 MB / 1.16 GB, free: 11.88 MB / 0.92 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.005504/0.9489, allocations: 5.081 MB / 1.165 GB, free: 6.344 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.9503, allocations: 1.152 MB / 1.167 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.951, allocations: 0.4973 MB / 1.167 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.951, allocations: 16.64 kB / 1.167 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006853/0.9517, allocations: 480.2 kB / 1.167 GB, free: 4.117 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/0.9518, allocations: 4 kB / 1.167 GB, free: 4.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.001856/0.9536, allocations: 1.153 MB / 1.169 GB, free: 2.953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.9537, allocations: 64.02 kB / 1.169 GB, free: 2.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.9543, allocations: 0.5706 MB / 1.169 GB, free: 2.297 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.9544, allocations: 37.7 kB / 1.169 GB, free: 2.254 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.9547, allocations: 467.7 kB / 1.17 GB, free: 1.789 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.9549, allocations: 264.1 kB / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.955, allocations: 16 kB / 1.17 GB, free: 1.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9552, allocations: 390.8 kB / 1.17 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.9556, allocations: 325.8 kB / 1.171 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.9562, allocations: 444.7 kB / 1.171 GB, free: 340 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/0.9568, allocations: 399 kB / 1.171 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.9568, allocations: 4 kB / 1.171 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001292/0.9581, allocations: 0.9257 MB / 1.172 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9581, allocations: 8 kB / 1.172 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.9581, allocations: 4 kB / 1.172 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.9582, allocations: 7.984 kB / 1.172 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.9588, allocations: 159.8 kB / 1.173 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.9588, allocations: 8.297 kB / 1.173 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.9597, allocations: 155.3 kB / 1.173 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.9598, allocations: 35.92 kB / 1.173 GB, free: 14.63 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004282/0.9602, allocations: 347.2 kB / 1.173 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.9603, allocations: 79.06 kB / 1.173 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.9606, allocations: 107.8 kB / 1.173 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.9606, allocations: 8 kB / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9606, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.9618, allocations: 1.089 MB / 1.174 GB, free: 12.91 MB / 0.9356 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.002976/0.9648, allocations: 2.312 MB / 1.177 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9648, allocations: 3.953 kB / 1.177 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.9656, allocations: 171.8 kB / 1.177 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.9656, allocations: 4 kB / 1.177 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.9657, allocations: 16 kB / 1.177 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.9657, allocations: 4 kB / 1.177 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9657, allocations: 0 / 1.177 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.9674, allocations: 1.354 MB / 1.178 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.9678, allocations: 255.9 kB / 1.178 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.9679, allocations: 16 kB / 1.178 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.9686, allocations: 99.81 kB / 1.178 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.9687, allocations: 40.59 kB / 1.178 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.9688, allocations: 23.98 kB / 1.178 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004324/0.9692, allocations: 415 kB / 1.179 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9692, allocations: 4 kB / 1.179 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008134/0.97, allocations: 367.1 kB / 1.179 GB, free: 7.73 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.9703, allocations: 171.1 kB / 1.179 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.9714, allocations: 0.798 MB / 1.18 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9714, allocations: 0 / 1.18 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.9719, allocations: 423.4 kB / 1.181 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.9742, allocations: 0.5678 MB / 1.181 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.9775, allocations: 2.7 MB / 1.184 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.9783, allocations: 1.136 MB / 1.185 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009788/0.9792, allocations: 275.1 kB / 1.185 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.9795, allocations: 71.44 kB / 1.185 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of SimCode: time 2.034e-06/0.9795, allocations: 0 / 1.185 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of Templates: time 0.02793/1.007, allocations: 17.59 MB / 1.202 GB, free: 176 kB / 0.9512 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches