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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001604/0.001604, allocations: 194.2 kB / 16.14 MB, free: 6.691 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.887/2.887, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 61.62 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3562, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9321/1.288, allocations: 201.9 MB / 1.249 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01068/1.299, allocations: 6.459 MB / 1.256 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/1.301, allocations: 36.41 kB / 1.256 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/1.303, allocations: 0.6404 MB / 1.256 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008193/1.312, allocations: 2.518 MB / 1.259 GB, free: 2.293 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002411/1.314, allocations: 0.6372 MB / 1.259 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00659/1.321, allocations: 4.833 MB / 1.264 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.322, allocations: 0.964 MB / 1.265 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/1.325, allocations: 1.082 MB / 1.266 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/1.329, allocations: 1.149 MB / 1.267 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.329, allocations: 71.59 kB / 1.267 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007637/1.337, allocations: 2.724 MB / 1.27 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/1.338, allocations: 470.8 kB / 1.27 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001831/1.34, allocations: 0.6785 MB / 1.271 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009118/1.349, allocations: 2.887 MB / 1.274 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.349, allocations: 3.5 kB / 1.274 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/1.349, allocations: 5.25 kB / 1.274 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.373e-05/1.349, allocations: 0 / 1.274 GB, free: 1.977 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.005625/1.355, allocations: 1.764 MB / 1.276 GB, free: 17.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.355, allocations: 9.281 kB / 1.276 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/1.357, allocations: 349 kB / 1.276 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/1.359, allocations: 0.8362 MB / 1.277 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/1.359, allocations: 78.95 kB / 1.277 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/1.359, allocations: 99.78 kB / 1.277 GB, free: 16.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/1.362, allocations: 1.198 MB / 1.278 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.362, allocations: 0 / 1.278 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.362, allocations: 40.75 kB / 1.278 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-05/1.362, allocations: 60.23 kB / 1.278 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/1.364, allocations: 1.247 MB / 1.279 GB, free: 16.66 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.007223/1.371, allocations: 5.077 MB / 1.284 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.373, allocations: 1.153 MB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/1.374, allocations: 0.5059 MB / 1.286 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/1.374, allocations: 23.77 kB / 1.286 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/1.375, allocations: 486.7 kB / 1.286 GB, free: 13.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.637e-06/1.375, allocations: 0 / 1.286 GB, free: 13.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.002259/1.377, allocations: 1.157 MB / 1.288 GB, free: 13.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/1.377, allocations: 59.78 kB / 1.288 GB, free: 13.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/1.378, allocations: 0.573 MB / 1.288 GB, free: 13.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/1.378, allocations: 39.89 kB / 1.288 GB, free: 13.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/1.378, allocations: 466.5 kB / 1.289 GB, free: 13.15 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/1.378, allocations: 268.9 kB / 1.289 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/1.379, allocations: 129.5 kB / 1.289 GB, free: 12.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.379, allocations: 386.3 kB / 1.289 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/1.379, allocations: 335.5 kB / 1.29 GB, free: 12.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000552/1.38, allocations: 450.7 kB / 1.29 GB, free: 12.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/1.381, allocations: 0.8223 MB / 1.291 GB, free: 12.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.381, allocations: 0 / 1.291 GB, free: 12.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001446/1.382, allocations: 0.9348 MB / 1.292 GB, free: 12.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.382, allocations: 7.062 kB / 1.292 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.382, allocations: 2.266 kB / 1.292 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/1.382, allocations: 6.688 kB / 1.292 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/1.383, allocations: 152.9 kB / 1.292 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/1.383, allocations: 9.469 kB / 1.292 GB, free: 12.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.384, allocations: 165.8 kB / 1.292 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/1.385, allocations: 27.23 kB / 1.292 GB, free: 12.29 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.0006009/1.385, allocations: 334.2 kB / 1.293 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.385, allocations: 85.56 kB / 1.293 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/1.386, allocations: 105.9 kB / 1.293 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.386, allocations: 10.56 kB / 1.293 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.386, allocations: 0 / 1.293 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/1.387, allocations: 1.092 MB / 1.294 GB, free: 11.66 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.003664/1.391, allocations: 2.311 MB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.391, allocations: 0 / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008281/1.391, allocations: 172.3 kB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.391, allocations: 6.938 kB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/1.392, allocations: 19.22 kB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.392, allocations: 5.531 kB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.392, allocations: 3.656 kB / 1.296 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/1.393, allocations: 1.35 MB / 1.298 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/1.394, allocations: 250.8 kB / 1.298 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.394, allocations: 19.31 kB / 1.298 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/1.395, allocations: 102.6 kB / 1.298 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.395, allocations: 46.75 kB / 1.298 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/1.395, allocations: 27.38 kB / 1.298 GB, free: 10.77 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005383/1.396, allocations: 414.2 kB / 1.298 GB, free: 10.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.8e-07/1.396, allocations: 0 / 1.298 GB, free: 10.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001106/1.397, allocations: 366.3 kB / 1.299 GB, free: 10.63 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.00033/1.397, allocations: 178 kB / 1.299 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001227/1.398, allocations: 0.804 MB / 1.3 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.398, allocations: 0 / 1.3 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005343/1.399, allocations: 426.5 kB / 1.3 GB, free: 10.51 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.401, allocations: 0.5611 MB / 1.301 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/1.406, allocations: 2.636 MB / 1.303 GB, free: 9.109 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000929/1.407, allocations: 1.137 MB / 1.304 GB, free: 8.398 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001249/1.408, allocations: 277.7 kB / 1.305 GB, free: 8.336 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/1.408, allocations: 75.61 kB / 1.305 GB, free: 8.328 MB / 1.014 GB Notification: Performance of SimCode: time 8.22e-07/1.408, allocations: 1.203 kB / 1.305 GB, free: 8.328 MB / 1.014 GB Notification: Performance of Templates: time 0.03165/1.44, allocations: 18.25 MB / 1.323 GB, free: 5.059 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=480 -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