Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 387.1 MB / 399.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 169 kB / 492.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 95.88 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.406e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3085, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.2/11.51, allocations: 4.439 GB / 5.651 GB, free: 19.13 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/11.51, allocations: 86.27 kB / 5.651 GB, free: 19.09 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.922/16.43, allocations: 0.9882 GB / 6.639 GB, free: 215.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.016e-06/16.43, allocations: 0 / 6.639 GB, free: 215.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002098/16.43, allocations: 64.17 kB / 6.639 GB, free: 215.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01487/16.45, allocations: 3.313 MB / 6.643 GB, free: 214.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/16.45, allocations: 7.125 kB / 6.643 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00628/16.45, allocations: 0.7564 MB / 6.643 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006735/16.46, allocations: 2.001 MB / 6.645 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/16.46, allocations: 200.2 kB / 6.645 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/16.46, allocations: 271.8 kB / 6.646 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006631/16.47, allocations: 3.099 MB / 6.649 GB, free: 213.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.251e-05/16.47, allocations: 3.938 kB / 6.649 GB, free: 213.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/16.47, allocations: 108.4 kB / 6.649 GB, free: 213.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/16.47, allocations: 128.4 kB / 6.649 GB, free: 213.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007737/16.48, allocations: 4.402 MB / 6.653 GB, free: 213.5 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.02087/16.5, allocations: 10.82 MB / 6.664 GB, free: 209.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006253/16.5, allocations: 4.792 MB / 6.668 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003787/16.51, allocations: 2.456 MB / 6.671 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/16.51, allocations: 0.8564 MB / 6.672 GB, free: 208.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/16.51, allocations: 81.27 kB / 6.672 GB, free: 208.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 6.282e-06/16.51, allocations: 0 / 6.672 GB, free: 208.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.00829/16.52, allocations: 4.018 MB / 6.676 GB, free: 208.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/16.52, allocations: 92.8 kB / 6.676 GB, free: 208.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/16.52, allocations: 1.106 MB / 6.677 GB, free: 208.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004155/16.52, allocations: 92.14 kB / 6.677 GB, free: 208.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000655/16.52, allocations: 0.8144 MB / 6.678 GB, free: 207.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/16.52, allocations: 1.335 MB / 6.679 GB, free: 207 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/16.52, allocations: 65.88 kB / 6.679 GB, free: 207 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002529/16.52, allocations: 442.1 kB / 6.68 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002537/16.52, allocations: 1.543 MB / 6.681 GB, free: 206.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/16.53, allocations: 1.844 MB / 6.683 GB, free: 206.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/16.53, allocations: 1.847 MB / 6.685 GB, free: 206.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/16.53, allocations: 2.625 kB / 6.685 GB, free: 206.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006701/16.54, allocations: 4.075 MB / 6.689 GB, free: 206.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/16.54, allocations: 8.688 kB / 6.689 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/16.54, allocations: 3.594 kB / 6.689 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.894e-05/16.54, allocations: 22.17 kB / 6.689 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/16.54, allocations: 0.6884 MB / 6.689 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.035e-05/16.54, allocations: 24.69 kB / 6.689 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/16.54, allocations: 402.4 kB / 6.69 GB, free: 206.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/16.54, allocations: 114.1 kB / 6.69 GB, free: 206.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.000777/16.55, allocations: 281 kB / 6.69 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/16.55, allocations: 234.3 kB / 6.69 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009297/16.56, allocations: 4.546 MB / 6.695 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-05/16.56, allocations: 40.53 kB / 6.695 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-05/16.56, allocations: 0 / 6.695 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006578/16.56, allocations: 3.864 MB / 6.699 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/16.58, allocations: 8.194 MB / 6.707 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/16.58, allocations: 0 / 6.707 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/16.58, allocations: 0.6616 MB / 6.707 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005663/16.58, allocations: 142 kB / 6.707 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004356/16.58, allocations: 83.41 kB / 6.707 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/16.59, allocations: 4.535 MB / 6.712 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/16.59, allocations: 3.953 kB / 6.712 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/16.6, allocations: 6.649 MB / 6.718 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002873/16.6, allocations: 0.7695 MB / 6.719 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/16.61, allocations: 64.22 kB / 6.719 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003828/16.61, allocations: 212.3 kB / 6.719 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008735/16.61, allocations: 224.9 kB / 6.72 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005663/16.61, allocations: 109.5 kB / 6.72 GB, free: 200.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003089/16.61, allocations: 0.8717 MB / 6.721 GB, free: 200 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.52e-07/16.61, allocations: 0 / 6.721 GB, free: 200 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009094/16.62, allocations: 1.303 MB / 6.722 GB, free: 199.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006547/16.63, allocations: 2.324 MB / 6.724 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0105/16.64, allocations: 3.932 MB / 6.728 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/16.64, allocations: 3.938 kB / 6.728 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005801/16.65, allocations: 2.498 MB / 6.73 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00683/16.65, allocations: 0.9682 MB / 6.731 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/16.67, allocations: 5.743 MB / 6.737 GB, free: 197.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/16.67, allocations: 1.993 MB / 6.739 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006355/16.68, allocations: 1.223 MB / 6.74 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/16.68, allocations: 238.8 kB / 6.74 GB, free: 196.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.483e-06/16.68, allocations: 3.031 kB / 6.74 GB, free: 196.9 MB / 1.167 GB Notification: Performance of Templates: time 0.1263/16.81, allocations: 75.4 MB / 6.814 GB, free: 172.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches