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.001832/0.001833, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001629/0.001629, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.542/1.542, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 482.4 MB / 0.755 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 68.39 kB / 0.924 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.147, allocations: 162.2 MB / 1.082 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2989/1.446, allocations: 201.6 MB / 1.279 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01328/1.459, allocations: 6.347 MB / 1.286 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/1.462, allocations: 35.75 kB / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002918/1.465, allocations: 0.665 MB / 1.286 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/1.475, allocations: 2.513 MB / 1.289 GB, free: 11.26 MB / 1.014 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.002428/1.477, allocations: 0.644 MB / 1.289 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005285/1.483, allocations: 3.278 MB / 1.292 GB, free: 7.328 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/1.485, allocations: 1.109 MB / 1.294 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/1.488, allocations: 1.378 MB / 1.295 GB, free: 4.812 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/1.491, allocations: 1.164 MB / 1.296 GB, free: 3.652 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/1.491, allocations: 128 kB / 1.296 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005533/1.497, allocations: 2.459 MB / 1.299 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008283/1.498, allocations: 0.5105 MB / 1.299 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/1.499, allocations: 0.7469 MB / 1.3 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0039/1.503, allocations: 2.085 MB / 1.302 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.503, allocations: 0 / 1.302 GB, free: 13.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.117e-06/1.503, allocations: 3.984 kB / 1.302 GB, free: 13.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.638e-05/1.503, allocations: 0 / 1.302 GB, free: 13.71 MB / 1.029 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.004826/1.508, allocations: 1.773 MB / 1.304 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/1.508, allocations: 12.03 kB / 1.304 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/1.511, allocations: 346.2 kB / 1.304 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/1.512, allocations: 0.8428 MB / 1.305 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/1.512, allocations: 78 kB / 1.305 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/1.512, allocations: 100 kB / 1.305 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/1.515, allocations: 1.191 MB / 1.306 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.515, allocations: 0 / 1.306 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.515, allocations: 40 kB / 1.306 GB, free: 9.203 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-05/1.515, allocations: 62.06 kB / 1.306 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/1.517, allocations: 1.25 MB / 1.307 GB, free: 7.883 MB / 1.029 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.007756/1.525, allocations: 5.22 MB / 1.312 GB, free: 2.172 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/1.527, allocations: 1.165 MB / 1.314 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/1.527, allocations: 0.5051 MB / 1.314 GB, free: 432 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/1.527, allocations: 8.656 kB / 1.314 GB, free: 424 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008524/1.528, allocations: 492.2 kB / 1.315 GB, free: 15.92 MB / 1.045 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/1.528, allocations: 0 / 1.315 GB, free: 15.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.002235/1.531, allocations: 1.157 MB / 1.316 GB, free: 14.76 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/1.531, allocations: 64.05 kB / 1.316 GB, free: 14.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000807/1.531, allocations: 0.5745 MB / 1.316 GB, free: 14.1 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/1.532, allocations: 41.7 kB / 1.316 GB, free: 14.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/1.532, allocations: 467.5 kB / 1.317 GB, free: 13.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/1.532, allocations: 268.2 kB / 1.317 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/1.533, allocations: 130.6 kB / 1.317 GB, free: 13.19 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002292/1.533, allocations: 386.8 kB / 1.318 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/1.533, allocations: 329.8 kB / 1.318 GB, free: 12.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/1.534, allocations: 452.7 kB / 1.318 GB, free: 12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.535, allocations: 0.8194 MB / 1.319 GB, free: 11.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.535, allocations: 8 kB / 1.319 GB, free: 11.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00156/1.537, allocations: 0.9257 MB / 1.32 GB, free: 10.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.537, allocations: 4 kB / 1.32 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.537, allocations: 4 kB / 1.32 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.537, allocations: 7.938 kB / 1.32 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/1.538, allocations: 164.1 kB / 1.32 GB, free: 10.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.538, allocations: 4 kB / 1.32 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.539, allocations: 159.2 kB / 1.32 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/1.539, allocations: 28 kB / 1.32 GB, free: 9.84 MB / 1.045 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.0006112/1.539, allocations: 335 kB / 1.321 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.539, allocations: 79.06 kB / 1.321 GB, free: 9.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/1.54, allocations: 111.7 kB / 1.321 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.54, allocations: 8 kB / 1.321 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.54, allocations: 0 / 1.321 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/1.541, allocations: 1.089 MB / 1.322 GB, free: 8.125 MB / 1.045 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.003783/1.545, allocations: 2.312 MB / 1.324 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.545, allocations: 0 / 1.324 GB, free: 5.719 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/1.546, allocations: 171.8 kB / 1.324 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/1.546, allocations: 4 kB / 1.324 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/1.546, allocations: 19.98 kB / 1.324 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1.546, allocations: 4 kB / 1.324 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.546, allocations: 4.031 kB / 1.324 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/1.548, allocations: 1.35 MB / 1.326 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/1.548, allocations: 260 kB / 1.326 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.549, allocations: 16 kB / 1.326 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/1.549, allocations: 99.83 kB / 1.326 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/1.55, allocations: 44.53 kB / 1.326 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/1.55, allocations: 27.94 kB / 1.326 GB, free: 3.691 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005429/1.55, allocations: 423 kB / 1.327 GB, free: 3.285 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.55, allocations: 0 / 1.327 GB, free: 3.285 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001054/1.551, allocations: 367 kB / 1.327 GB, free: 2.926 MB / 1.045 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.0003444/1.552, allocations: 185.9 kB / 1.327 GB, free: 2.738 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.554, allocations: 1.028 MB / 1.328 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.554, allocations: 4 kB / 1.328 GB, free: 1.707 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005978/1.554, allocations: 428.2 kB / 1.328 GB, free: 1.289 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/1.557, allocations: 0.5828 MB / 1.329 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/1.561, allocations: 2.705 MB / 1.332 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/1.562, allocations: 1.14 MB / 1.333 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/1.562, allocations: 79.42 kB / 1.333 GB, free: 12.73 MB / 1.061 GB Notification: Performance of SimCode: time 1.133e-06/1.562, allocations: 0 / 1.333 GB, free: 12.73 MB / 1.061 GB Notification: Performance of Templates: time 0.02814/1.591, allocations: 15.76 MB / 1.348 GB, free: 13.07 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches