Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001379/0.001379, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001237/0.001238, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.512/1.512, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.1 MB / 0.7111 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.95 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9275/1.318, allocations: 204.2 MB / 1.217 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01277/1.331, allocations: 6.362 MB / 1.224 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/1.333, allocations: 39.12 kB / 1.224 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002579/1.336, allocations: 0.7246 MB / 1.224 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009045/1.345, allocations: 2.687 MB / 1.227 GB, free: 2.27 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.002643/1.348, allocations: 0.7055 MB / 1.228 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006123/1.354, allocations: 3.274 MB / 1.231 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/1.356, allocations: 1.14 MB / 1.232 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003356/1.359, allocations: 1.246 MB / 1.233 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/1.362, allocations: 1.098 MB / 1.234 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/1.363, allocations: 132 kB / 1.234 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006488/1.369, allocations: 2.354 MB / 1.237 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/1.37, allocations: 0.5143 MB / 1.237 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/1.372, allocations: 0.743 MB / 1.238 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007349/1.379, allocations: 2.77 MB / 1.241 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.379, allocations: 3.984 kB / 1.241 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.875e-06/1.379, allocations: 0 / 1.241 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.086e-05/1.379, allocations: 0 / 1.241 GB, free: 5.418 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.005147/1.385, allocations: 1.769 MB / 1.242 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.385, allocations: 12.88 kB / 1.242 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/1.387, allocations: 358 kB / 1.243 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/1.389, allocations: 0.8312 MB / 1.243 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.125e-05/1.389, allocations: 74.02 kB / 1.244 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.389, allocations: 103.9 kB / 1.244 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/1.391, allocations: 1.195 MB / 1.245 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/1.391, allocations: 0 / 1.245 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.392, allocations: 43.98 kB / 1.245 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.986e-05/1.392, allocations: 62.06 kB / 1.245 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/1.394, allocations: 1.246 MB / 1.246 GB, free: 15.59 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 preOpt removeSimpleEquations (simulation): time 0.008024/1.402, allocations: 5.143 MB / 1.251 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/1.404, allocations: 1.158 MB / 1.252 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/1.405, allocations: 0.5034 MB / 1.253 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/1.405, allocations: 20.78 kB / 1.253 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008111/1.406, allocations: 484.2 kB / 1.253 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 4.128e-06/1.406, allocations: 0 / 1.253 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.002247/1.408, allocations: 1.161 MB / 1.254 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/1.408, allocations: 67.94 kB / 1.254 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/1.409, allocations: 0.5706 MB / 1.255 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/1.409, allocations: 41.7 kB / 1.255 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/1.409, allocations: 459.6 kB / 1.256 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/1.409, allocations: 276 kB / 1.256 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/1.41, allocations: 130.7 kB / 1.256 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002612/1.41, allocations: 382.8 kB / 1.256 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/1.411, allocations: 333.8 kB / 1.257 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/1.411, allocations: 448.7 kB / 1.257 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/1.412, allocations: 0.8233 MB / 1.258 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.412, allocations: 0 / 1.258 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001542/1.414, allocations: 0.9335 MB / 1.259 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.414, allocations: 8.344 kB / 1.259 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.414, allocations: 5.562 kB / 1.259 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.629e-05/1.414, allocations: 8 kB / 1.259 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/1.415, allocations: 155.7 kB / 1.259 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/1.415, allocations: 8 kB / 1.259 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/1.416, allocations: 67.27 kB / 1.259 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/1.416, allocations: 24 kB / 1.259 GB, free: 1.762 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.0005871/1.416, allocations: 333.5 kB / 1.259 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.416, allocations: 79.06 kB / 1.259 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/1.417, allocations: 107.8 kB / 1.259 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.417, allocations: 11.94 kB / 1.259 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.417, allocations: 0 / 1.259 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001494/1.418, allocations: 1.089 MB / 1.261 GB, free: 48 kB / 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.003712/1.422, allocations: 2.308 MB / 1.263 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.422, allocations: 8.016 kB / 1.263 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008474/1.423, allocations: 175.8 kB / 1.263 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.423, allocations: 4 kB / 1.263 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/1.423, allocations: 17.86 kB / 1.263 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/1.423, allocations: 4 kB / 1.263 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.423, allocations: 3.938 kB / 1.263 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/1.425, allocations: 1.35 MB / 1.264 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/1.425, allocations: 260 kB / 1.265 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.426, allocations: 16 kB / 1.265 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/1.426, allocations: 21.3 kB / 1.265 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.426, allocations: 40.59 kB / 1.265 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/1.426, allocations: 27.98 kB / 1.265 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000604/1.427, allocations: 411.1 kB / 1.265 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/1.427, allocations: 4 kB / 1.265 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001096/1.428, allocations: 371 kB / 1.265 GB, free: 10.93 MB / 0.9669 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.0003724/1.428, allocations: 184.3 kB / 1.266 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002043/1.431, allocations: 1.032 MB / 1.267 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.431, allocations: 0 / 1.267 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000627/1.431, allocations: 423.5 kB / 1.267 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/1.434, allocations: 0.5981 MB / 1.268 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/1.438, allocations: 2.263 MB / 1.27 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009369/1.439, allocations: 1.14 MB / 1.271 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/1.439, allocations: 75.42 kB / 1.271 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of SimCode: time 1.794e-06/1.439, allocations: 0 / 1.271 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of Templates: time 0.02941/1.469, allocations: 15.75 MB / 1.286 GB, free: 5.527 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches