Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.192/2.192, allocations: 390.5 MB / 398 MB, free: 10.93 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.001577/0.001577, allocations: 176.8 kB / 491.2 MB, free: 1.543 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.693/1.693, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001392/0.001392, allocations: 83.94 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.858e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3232, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.21/11.54, allocations: 4.439 GB / 5.651 GB, free: 15.42 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/11.54, allocations: 86.52 kB / 5.651 GB, free: 15.38 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.371/15.91, allocations: 0.9782 GB / 6.629 GB, free: 217 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.956e-06/15.91, allocations: 3.938 kB / 6.629 GB, free: 217 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002543/15.91, allocations: 71.05 kB / 6.629 GB, free: 217 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.01732/15.92, allocations: 3.302 MB / 6.633 GB, free: 216 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.177e-05/15.92, allocations: 7.625 kB / 6.633 GB, free: 216 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007149/15.93, allocations: 0.7516 MB / 6.633 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007727/15.94, allocations: 2.001 MB / 6.635 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/15.94, allocations: 84.31 kB / 6.635 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/15.94, allocations: 165.9 kB / 6.636 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01047/15.95, allocations: 4.14 MB / 6.64 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/15.96, allocations: 2.723 MB / 6.642 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/15.96, allocations: 0 / 6.642 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/15.96, allocations: 1.281 kB / 6.642 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/15.96, allocations: 124.6 kB / 6.642 GB, free: 215.4 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.0263/15.99, allocations: 10.39 MB / 6.652 GB, free: 211.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008133/16, allocations: 4.79 MB / 6.657 GB, free: 211.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/16, allocations: 2.338 MB / 6.659 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/16.01, allocations: 0.8595 MB / 6.66 GB, free: 210.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.191e-05/16.01, allocations: 75.89 kB / 6.66 GB, free: 210.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 8.035e-06/16.01, allocations: 0 / 6.66 GB, free: 210.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.01219/16.02, allocations: 4.138 MB / 6.664 GB, free: 210.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/16.02, allocations: 95.33 kB / 6.664 GB, free: 210.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/16.02, allocations: 1.026 MB / 6.665 GB, free: 210.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005962/16.02, allocations: 25.7 kB / 6.666 GB, free: 210.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/16.02, allocations: 0.8041 MB / 6.666 GB, free: 209.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002477/16.02, allocations: 1.278 MB / 6.668 GB, free: 208.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005763/16.03, allocations: 0 / 6.668 GB, free: 208.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005674/16.03, allocations: 440.6 kB / 6.668 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/16.03, allocations: 1.481 MB / 6.669 GB, free: 208.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/16.03, allocations: 1.745 MB / 6.671 GB, free: 208.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/16.04, allocations: 2.126 MB / 6.673 GB, free: 208.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/16.04, allocations: 1.031 kB / 6.673 GB, free: 208.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01086/16.05, allocations: 4.17 MB / 6.677 GB, free: 208.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/16.05, allocations: 5.562 kB / 6.677 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/16.05, allocations: 7.891 kB / 6.677 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.702e-05/16.05, allocations: 17.91 kB / 6.677 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003343/16.05, allocations: 0.6902 MB / 6.678 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-05/16.05, allocations: 17.34 kB / 6.678 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/16.06, allocations: 331.3 kB / 6.678 GB, free: 208.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005934/16.06, allocations: 115.7 kB / 6.678 GB, free: 208.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.0009694/16.06, allocations: 155.7 kB / 6.679 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/16.06, allocations: 238.6 kB / 6.679 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/16.07, allocations: 4.578 MB / 6.683 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/16.07, allocations: 38.84 kB / 6.683 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/16.07, allocations: 0 / 6.683 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007824/16.08, allocations: 3.981 MB / 6.687 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/16.1, allocations: 7.952 MB / 6.695 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/16.1, allocations: 0 / 6.695 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/16.1, allocations: 0.6603 MB / 6.696 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/16.1, allocations: 136 kB / 6.696 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003743/16.1, allocations: 34.77 kB / 6.696 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/16.11, allocations: 4.356 MB / 6.7 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/16.11, allocations: 0 / 6.7 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/16.12, allocations: 6.68 MB / 6.707 GB, free: 202.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003462/16.12, allocations: 0.771 MB / 6.707 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/16.12, allocations: 12.88 kB / 6.707 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003873/16.13, allocations: 143.8 kB / 6.707 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/16.13, allocations: 222.7 kB / 6.708 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003692/16.13, allocations: 116.4 kB / 6.708 GB, free: 202.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002081/16.13, allocations: 0.7915 MB / 6.709 GB, free: 202.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.31e-07/16.13, allocations: 2.219 kB / 6.709 GB, free: 202.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006387/16.14, allocations: 1.132 MB / 6.71 GB, free: 202 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.005049/16.14, allocations: 2.532 MB / 6.712 GB, free: 201.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006901/16.15, allocations: 3.749 MB / 6.716 GB, free: 201.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/16.15, allocations: 0 / 6.716 GB, free: 201.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004073/16.15, allocations: 2.399 MB / 6.718 GB, free: 200.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006689/16.16, allocations: 0.9072 MB / 6.719 GB, free: 200.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/16.18, allocations: 5.591 MB / 6.724 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/16.18, allocations: 1.984 MB / 6.726 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005642/16.19, allocations: 1.225 MB / 6.728 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/16.19, allocations: 238.5 kB / 6.728 GB, free: 199.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.433e-06/16.19, allocations: 0 / 6.728 GB, free: 199.1 MB / 1.167 GB Notification: Performance of Templates: time 0.1017/16.29, allocations: 54.19 MB / 6.781 GB, free: 194.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches