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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001084/0.001084, allocations: 179 kB / 498.1 MB, free: 5.73 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.349/1.349, allocations: 223.2 MB / 0.7948 GB, free: 18.91 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.0009022/0.0009023, allocations: 94.77 kB / 0.9346 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 11.12 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.027/9.286, allocations: 4.439 GB / 5.662 GB, free: 286.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/9.286, allocations: 91.95 kB / 5.662 GB, free: 286.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.932/12.22, allocations: 0.9892 GB / 6.651 GB, free: 173.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.233e-06/12.22, allocations: 3.938 kB / 6.651 GB, free: 173.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002421/12.22, allocations: 64 kB / 6.651 GB, free: 173.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.01119/12.23, allocations: 3.693 MB / 6.655 GB, free: 169.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/12.23, allocations: 12.03 kB / 6.655 GB, free: 169.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001198/12.23, allocations: 391.8 kB / 6.655 GB, free: 169.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/12.24, allocations: 0.7533 MB / 6.656 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/12.24, allocations: 2.019 MB / 6.658 GB, free: 166.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/12.24, allocations: 197.4 kB / 6.658 GB, free: 166.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003571/12.24, allocations: 272 kB / 6.658 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/12.24, allocations: 3.154 MB / 6.661 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/12.24, allocations: 4 kB / 6.661 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/12.25, allocations: 108 kB / 6.661 GB, free: 162.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.231e-05/12.25, allocations: 129.4 kB / 6.661 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005543/12.25, allocations: 4.495 MB / 6.666 GB, free: 157.9 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.01264/12.26, allocations: 10.82 MB / 6.676 GB, free: 146.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/12.27, allocations: 4.844 MB / 6.681 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/12.27, allocations: 0.8566 MB / 6.682 GB, free: 140.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/12.27, allocations: 77.7 kB / 6.682 GB, free: 140.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 5.109e-06/12.27, allocations: 0 / 6.682 GB, free: 140.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.00831/12.28, allocations: 6.075 MB / 6.688 GB, free: 134.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/12.28, allocations: 98.48 kB / 6.688 GB, free: 134.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/12.28, allocations: 1.116 MB / 6.689 GB, free: 133 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/12.28, allocations: 93.7 kB / 6.689 GB, free: 132.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/12.28, allocations: 0.8057 MB / 6.69 GB, free: 132.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007017/12.28, allocations: 1.332 MB / 6.691 GB, free: 130.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/12.28, allocations: 68 kB / 6.691 GB, free: 130.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001295/12.28, allocations: 445 kB / 6.692 GB, free: 130.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/12.28, allocations: 1.596 MB / 6.693 GB, free: 128.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/12.28, allocations: 1.878 MB / 6.695 GB, free: 126.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/12.29, allocations: 1.886 MB / 6.697 GB, free: 124.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/12.29, allocations: 4 kB / 6.697 GB, free: 124.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005131/12.29, allocations: 4.164 MB / 6.701 GB, free: 120.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/12.29, allocations: 8 kB / 6.701 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/12.29, allocations: 0 / 6.701 GB, free: 120.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/12.29, allocations: 20 kB / 6.701 GB, free: 120.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/12.29, allocations: 0.6788 MB / 6.702 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/12.29, allocations: 23.94 kB / 6.702 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/12.3, allocations: 401.3 kB / 6.702 GB, free: 119.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/12.3, allocations: 116 kB / 6.702 GB, free: 119.4 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.001289/12.3, allocations: 0.7273 MB / 6.703 GB, free: 118.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/12.3, allocations: 237.2 kB / 6.703 GB, free: 118.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006138/12.3, allocations: 4.634 MB / 6.708 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/12.3, allocations: 40 kB / 6.708 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/12.3, allocations: 0 / 6.708 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004694/12.31, allocations: 3.943 MB / 6.712 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/12.31, allocations: 3.336 MB / 6.715 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.736e-05/12.31, allocations: 7.953 kB / 6.715 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/12.32, allocations: 0.6592 MB / 6.716 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/12.32, allocations: 140.9 kB / 6.716 GB, free: 105.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002731/12.32, allocations: 87.91 kB / 6.716 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/12.32, allocations: 4.573 MB / 6.72 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/12.32, allocations: 0 / 6.72 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008926/12.33, allocations: 6.781 MB / 6.727 GB, free: 93.64 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/12.33, allocations: 0.7666 MB / 6.728 GB, free: 92.85 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005224/12.33, allocations: 71.98 kB / 6.728 GB, free: 92.78 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/12.33, allocations: 215.6 kB / 6.728 GB, free: 92.57 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/12.34, allocations: 234.8 kB / 6.728 GB, free: 92.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/12.34, allocations: 108 kB / 6.728 GB, free: 92.23 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001231/12.34, allocations: 0.884 MB / 6.729 GB, free: 91.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/12.34, allocations: 0 / 6.729 GB, free: 91.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003614/12.34, allocations: 1.307 MB / 6.73 GB, free: 90.04 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.01134/12.35, allocations: 9.549 MB / 6.74 GB, free: 80.29 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004868/12.36, allocations: 4.02 MB / 6.744 GB, free: 76.26 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/12.36, allocations: 192 / 6.744 GB, free: 76.26 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002785/12.36, allocations: 2.547 MB / 6.746 GB, free: 73.67 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/12.36, allocations: 0.9686 MB / 6.747 GB, free: 72.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/12.37, allocations: 11.06 MB / 6.758 GB, free: 61.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/12.38, allocations: 1.989 MB / 6.76 GB, free: 59.46 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003179/12.38, allocations: 1.227 MB / 6.761 GB, free: 58.23 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/12.38, allocations: 1.089 MB / 6.762 GB, free: 57.14 MB / 1.167 GB Notification: Performance of SimCode: time 1.032e-06/12.38, allocations: 0 / 6.762 GB, free: 57.14 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6536/13.03, allocations: 98.42 MB / 6.858 GB, free: 212.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/13.03, allocations: 193.9 kB / 6.858 GB, free: 212.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.116/18.15, allocations: 3.75 kB / 6.858 GB, free: 212.5 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat does not exist to compare? outputFormat=mat