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.496/2.496, allocations: 390.3 MB / 405.3 MB, free: 13.28 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.001187/0.001187, allocations: 177 kB / 498.1 MB, free: 5.52 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.61/1.61, allocations: 223.2 MB / 0.7949 GB, free: 17.87 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.0009165/0.0009165, allocations: 100.3 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 11.03 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3216, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.07/12.39, allocations: 4.439 GB / 5.662 GB, free: 230.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/12.39, allocations: 92.02 kB / 5.662 GB, free: 230.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.528/15.92, allocations: 0.9892 GB / 6.651 GB, free: 131.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.846e-06/15.92, allocations: 0 / 6.651 GB, free: 131.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003069/15.92, allocations: 71.98 kB / 6.651 GB, free: 131.8 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.01373/15.93, allocations: 3.691 MB / 6.654 GB, free: 128 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/15.93, allocations: 12.03 kB / 6.654 GB, free: 128 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/15.94, allocations: 0.7572 MB / 6.655 GB, free: 127.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/15.94, allocations: 2.016 MB / 6.657 GB, free: 125.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/15.94, allocations: 205.3 kB / 6.657 GB, free: 125 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009268/15.94, allocations: 264 kB / 6.658 GB, free: 124.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005769/15.95, allocations: 3.158 MB / 6.661 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.86e-05/15.95, allocations: 7.844 kB / 6.661 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/15.95, allocations: 108 kB / 6.661 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/15.95, allocations: 121.4 kB / 6.661 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007047/15.96, allocations: 4.499 MB / 6.665 GB, free: 116.8 MB / 1.167 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.01841/15.98, allocations: 10.81 MB / 6.676 GB, free: 105.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005422/15.98, allocations: 4.845 MB / 6.681 GB, free: 100.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000934/15.98, allocations: 0.8564 MB / 6.681 GB, free: 99.41 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/15.98, allocations: 81.69 kB / 6.682 GB, free: 99.32 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 4.969e-06/15.98, allocations: 4 kB / 6.682 GB, free: 99.32 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.01007/15.99, allocations: 6.067 MB / 6.687 GB, free: 93.16 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/15.99, allocations: 94.55 kB / 6.688 GB, free: 93.05 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/15.99, allocations: 1.116 MB / 6.689 GB, free: 91.93 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004212/15.99, allocations: 97.7 kB / 6.689 GB, free: 91.83 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/15.99, allocations: 0.8172 MB / 6.69 GB, free: 91 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/16, allocations: 1.328 MB / 6.691 GB, free: 89.66 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/16, allocations: 64 kB / 6.691 GB, free: 89.59 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000192/16, allocations: 449 kB / 6.691 GB, free: 89.15 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/16, allocations: 1.592 MB / 6.693 GB, free: 87.55 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/16, allocations: 1.878 MB / 6.695 GB, free: 85.63 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/16, allocations: 1.89 MB / 6.697 GB, free: 83.73 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/16, allocations: 0 / 6.697 GB, free: 83.73 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005893/16.01, allocations: 4.164 MB / 6.701 GB, free: 79.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/16.01, allocations: 8 kB / 6.701 GB, free: 79.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/16.01, allocations: 4 kB / 6.701 GB, free: 79.54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/16.01, allocations: 16 kB / 6.701 GB, free: 79.52 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/16.01, allocations: 0.683 MB / 6.701 GB, free: 78.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.75e-05/16.01, allocations: 23.94 kB / 6.701 GB, free: 78.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/16.02, allocations: 401.1 kB / 6.702 GB, free: 78.42 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/16.02, allocations: 112 kB / 6.702 GB, free: 78.31 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 () * Number of clocked 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.001651/16.02, allocations: 0.7358 MB / 6.703 GB, free: 77.56 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006611/16.02, allocations: 241.1 kB / 6.703 GB, free: 77.32 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006759/16.02, allocations: 4.634 MB / 6.707 GB, free: 72.64 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/16.02, allocations: 36 kB / 6.707 GB, free: 72.61 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/16.02, allocations: 3.938 kB / 6.707 GB, free: 72.61 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005119/16.03, allocations: 3.943 MB / 6.711 GB, free: 68.61 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/16.03, allocations: 3.332 MB / 6.714 GB, free: 65.22 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/16.03, allocations: 0 / 6.714 GB, free: 65.22 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/16.04, allocations: 0.6592 MB / 6.715 GB, free: 64.56 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/16.04, allocations: 142.5 kB / 6.715 GB, free: 64.41 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/16.04, allocations: 79.98 kB / 6.715 GB, free: 64.34 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/16.04, allocations: 4.571 MB / 6.72 GB, free: 59.36 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/16.04, allocations: 3.984 kB / 6.72 GB, free: 59.36 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009333/16.05, allocations: 6.785 MB / 6.726 GB, free: 52.52 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/16.05, allocations: 0.7666 MB / 6.727 GB, free: 51.73 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006683/16.05, allocations: 68 kB / 6.727 GB, free: 51.66 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/16.06, allocations: 215.6 kB / 6.727 GB, free: 51.45 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/16.06, allocations: 222.8 kB / 6.728 GB, free: 51.23 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/16.06, allocations: 112 kB / 6.728 GB, free: 51.12 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001251/16.06, allocations: 0.884 MB / 6.729 GB, free: 50.24 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/16.06, allocations: 0 / 6.729 GB, free: 50.24 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004406/16.06, allocations: 1.311 MB / 6.73 GB, free: 48.93 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 () * Number of clocked 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.003503/16.07, allocations: 2.305 MB / 6.732 GB, free: 46.47 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006265/16.07, allocations: 4.027 MB / 6.736 GB, free: 42.43 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/16.07, allocations: 0 / 6.736 GB, free: 42.43 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/16.08, allocations: 2.544 MB / 6.739 GB, free: 39.85 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/16.08, allocations: 0.9703 MB / 6.74 GB, free: 38.89 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/16.09, allocations: 7.896 MB / 6.747 GB, free: 30.94 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/16.09, allocations: 1.989 MB / 6.749 GB, free: 28.91 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004436/16.1, allocations: 1.215 MB / 6.75 GB, free: 27.69 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009727/16.1, allocations: 243.4 kB / 6.751 GB, free: 27.45 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/16.1, allocations: 0 / 6.751 GB, free: 27.45 MB / 1.167 GB Notification: Performance of Templates: time 0.7571/16.86, allocations: 69.51 MB / 6.818 GB, free: 209.7 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