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.58/2.58, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001082/0.001082, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.583/1.583, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.000911/0.0009107, allocations: 101.9 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.537e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2885, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.53/10.82, allocations: 4.439 GB / 5.651 GB, free: 18.24 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/10.82, allocations: 86.39 kB / 5.651 GB, free: 18.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.325/15.15, allocations: 0.9882 GB / 6.639 GB, free: 216.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 6.051e-06/15.15, allocations: 3.516 kB / 6.639 GB, free: 216.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000398/15.15, allocations: 68.55 kB / 6.639 GB, free: 216.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.01517/15.16, allocations: 3.312 MB / 6.643 GB, free: 215.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/15.16, allocations: 7.781 kB / 6.643 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001973/15.16, allocations: 381.6 kB / 6.643 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005752/15.17, allocations: 0.7531 MB / 6.644 GB, free: 214.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007031/15.18, allocations: 1.997 MB / 6.646 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/15.18, allocations: 203.7 kB / 6.646 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/15.18, allocations: 276.2 kB / 6.646 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009336/15.19, allocations: 3.107 MB / 6.649 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/15.19, allocations: 2.922 kB / 6.649 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007006/15.19, allocations: 110.2 kB / 6.649 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/15.19, allocations: 122.5 kB / 6.649 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008506/15.2, allocations: 4.399 MB / 6.654 GB, free: 214.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.02284/15.22, allocations: 10.83 MB / 6.664 GB, free: 210.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/15.23, allocations: 4.783 MB / 6.669 GB, free: 210.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006028/15.24, allocations: 2.459 MB / 6.671 GB, free: 210.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/15.24, allocations: 0.8616 MB / 6.672 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/15.24, allocations: 75.7 kB / 6.672 GB, free: 209.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=399): time 9.237e-06/15.24, allocations: 2.062 kB / 6.672 GB, free: 209.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=399): time 0.01087/15.25, allocations: 4.017 MB / 6.676 GB, free: 209.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/15.25, allocations: 92.52 kB / 6.676 GB, free: 209.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/15.25, allocations: 1.11 MB / 6.677 GB, free: 209.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000874/15.25, allocations: 92.27 kB / 6.677 GB, free: 209 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/15.26, allocations: 0.817 MB / 6.678 GB, free: 208.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002483/15.26, allocations: 1.326 MB / 6.68 GB, free: 207.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/15.26, allocations: 67.53 kB / 6.68 GB, free: 207.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004602/15.26, allocations: 440 kB / 6.68 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/15.26, allocations: 1.551 MB / 6.682 GB, free: 207.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004085/15.27, allocations: 1.834 MB / 6.683 GB, free: 207.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003949/15.27, allocations: 1.852 MB / 6.685 GB, free: 207.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/15.27, allocations: 0 / 6.685 GB, free: 207.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008182/15.28, allocations: 4.077 MB / 6.689 GB, free: 207.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/15.28, allocations: 6.688 kB / 6.689 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/15.28, allocations: 2.719 kB / 6.689 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.039e-05/15.28, allocations: 25.23 kB / 6.689 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/15.28, allocations: 0.6855 MB / 6.69 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.926e-05/15.28, allocations: 15.34 kB / 6.69 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/15.29, allocations: 404.4 kB / 6.69 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/15.29, allocations: 115.1 kB / 6.69 GB, free: 207 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.0008802/15.29, allocations: 281.8 kB / 6.691 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009884/15.29, allocations: 239.2 kB / 6.691 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/15.3, allocations: 4.547 MB / 6.695 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.815e-05/15.3, allocations: 42.59 kB / 6.695 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.797e-05/15.3, allocations: 3.5 kB / 6.695 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007338/15.31, allocations: 3.862 MB / 6.699 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/15.32, allocations: 8.192 MB / 6.707 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/15.32, allocations: 0 / 6.707 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/15.33, allocations: 0.656 MB / 6.708 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005418/15.33, allocations: 142.9 kB / 6.708 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003651/15.33, allocations: 83.62 kB / 6.708 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003522/15.33, allocations: 4.542 MB / 6.712 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/15.33, allocations: 0 / 6.712 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/15.34, allocations: 6.651 MB / 6.719 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/15.34, allocations: 0.7628 MB / 6.72 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008027/15.35, allocations: 68.28 kB / 6.72 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/15.35, allocations: 210.5 kB / 6.72 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004903/15.35, allocations: 230 kB / 6.72 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003273/15.35, allocations: 115.6 kB / 6.72 GB, free: 201 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001932/15.35, allocations: 0.8628 MB / 6.721 GB, free: 200.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/15.35, allocations: 0 / 6.721 GB, free: 200.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005541/15.36, allocations: 1.312 MB / 6.722 GB, free: 200.8 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.01566/15.37, allocations: 9.429 MB / 6.732 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007665/15.38, allocations: 3.931 MB / 6.735 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/15.38, allocations: 2.656 kB / 6.735 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004617/15.38, allocations: 2.496 MB / 6.738 GB, free: 198.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00614/15.39, allocations: 0.973 MB / 6.739 GB, free: 198.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/15.41, allocations: 6.464 MB / 6.745 GB, free: 196 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002584/15.41, allocations: 1.993 MB / 6.747 GB, free: 195.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005787/15.42, allocations: 1.225 MB / 6.748 GB, free: 195.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002904/15.42, allocations: 1.089 MB / 6.749 GB, free: 194.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.242e-06/15.42, allocations: 0 / 6.749 GB, free: 194.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1814/15.6, allocations: 105.6 MB / 6.852 GB, free: 134.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/15.6, allocations: 169.3 kB / 6.853 GB, free: 133.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/22.53, allocations: 0 / 6.853 GB, free: 133.9 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