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.001043/0.001043, allocations: 97.78 kB / 16.02 MB, free: 76 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.001291/0.001291, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.606/1.606, allocations: 223.3 MB / 241 MB, free: 5.359 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.533/2.533, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 8.281 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8431, allocations: 142.4 MB / 0.9557 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2406/1.084, allocations: 199.3 MB / 1.15 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01156/1.095, allocations: 6.389 MB / 1.157 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/1.097, allocations: 31.81 kB / 1.157 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/1.099, allocations: 0.6494 MB / 1.157 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00783/1.107, allocations: 2.522 MB / 1.16 GB, free: 14.07 MB / 0.92 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.002106/1.109, allocations: 0.6298 MB / 1.16 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00608/1.115, allocations: 4.826 MB / 1.165 GB, free: 8.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/1.117, allocations: 0.9202 MB / 1.166 GB, free: 7.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/1.119, allocations: 1.05 MB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002742/1.122, allocations: 1.096 MB / 1.168 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/1.122, allocations: 60 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/1.128, allocations: 2.708 MB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000678/1.129, allocations: 442.7 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/1.13, allocations: 0.6705 MB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/1.133, allocations: 2.038 MB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.133, allocations: 0 / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.735e-06/1.133, allocations: 0 / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.133, allocations: 0 / 1.174 GB, free: 15.59 MB / 0.9356 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.00399/1.137, allocations: 1.527 MB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.137, allocations: 12.03 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/1.14, allocations: 354.1 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/1.141, allocations: 0.8389 MB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/1.141, allocations: 78 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.141, allocations: 100 kB / 1.177 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/1.143, allocations: 1.191 MB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/1.143, allocations: 4 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/1.143, allocations: 40 kB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.813e-05/1.144, allocations: 66.05 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.145, allocations: 1.246 MB / 1.179 GB, free: 10 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 preOpt removeSimpleEquations (simulation): time 0.006341/1.152, allocations: 5.085 MB / 1.184 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/1.153, allocations: 1.159 MB / 1.185 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/1.154, allocations: 0.4973 MB / 1.186 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/1.154, allocations: 20.64 kB / 1.186 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007377/1.155, allocations: 476.2 kB / 1.186 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=76): time 4.529e-06/1.155, allocations: 8 kB / 1.186 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76): time 0.002062/1.157, allocations: 1.161 MB / 1.187 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/1.157, allocations: 64.06 kB / 1.187 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/1.158, allocations: 0.5744 MB / 1.188 GB, free: 392 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/1.158, allocations: 37.7 kB / 1.188 GB, free: 348 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/1.158, allocations: 463.8 kB / 1.188 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/1.158, allocations: 272 kB / 1.189 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/1.158, allocations: 65.69 kB / 1.189 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.159, allocations: 386.8 kB / 1.189 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/1.159, allocations: 329.8 kB / 1.189 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/1.16, allocations: 452.7 kB / 1.19 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.161, allocations: 0.8233 MB / 1.191 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.161, allocations: 0 / 1.191 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001482/1.162, allocations: 0.9299 MB / 1.192 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/1.162, allocations: 8 kB / 1.192 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.162, allocations: 3.938 kB / 1.192 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.164e-05/1.162, allocations: 11.94 kB / 1.192 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/1.163, allocations: 163.7 kB / 1.192 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/1.163, allocations: 4 kB / 1.192 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.164, allocations: 151.4 kB / 1.192 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/1.165, allocations: 28 kB / 1.192 GB, free: 12.19 MB / 0.9512 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.0006626/1.165, allocations: 331.5 kB / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.165, allocations: 83.06 kB / 1.192 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/1.166, allocations: 111.7 kB / 1.192 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.166, allocations: 11.98 kB / 1.192 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.166, allocations: 4 kB / 1.192 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/1.167, allocations: 1.081 MB / 1.193 GB, free: 10.48 MB / 0.9512 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.003527/1.171, allocations: 2.312 MB / 1.196 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.171, allocations: 4 kB / 1.196 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/1.171, allocations: 179.8 kB / 1.196 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.171, allocations: 0 / 1.196 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/1.171, allocations: 19.98 kB / 1.196 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/1.171, allocations: 4 kB / 1.196 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.171, allocations: 0 / 1.196 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/1.173, allocations: 1.354 MB / 1.197 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/1.174, allocations: 256 kB / 1.197 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/1.174, allocations: 16 kB / 1.197 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008083/1.175, allocations: 99.78 kB / 1.198 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/1.175, allocations: 48.59 kB / 1.198 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/1.175, allocations: 20 kB / 1.198 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005265/1.175, allocations: 415 kB / 1.198 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.175, allocations: 0 / 1.198 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001031/1.177, allocations: 363 kB / 1.198 GB, free: 5.289 MB / 0.9512 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.0003523/1.177, allocations: 187 kB / 1.199 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001231/1.178, allocations: 0.7984 MB / 1.199 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.178, allocations: 7.938 kB / 1.199 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/1.179, allocations: 419.6 kB / 1.2 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.181, allocations: 0.5623 MB / 1.2 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/1.186, allocations: 2.817 MB / 1.203 GB, free: 488 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009873/1.187, allocations: 1.144 MB / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/1.187, allocations: 75.44 kB / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of SimCode: time 1.923e-06/1.187, allocations: 0 / 1.204 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.03188/1.219, allocations: 15.59 MB / 1.219 GB, free: 15.75 MB / 0.9825 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