Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.522/2.522, 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.001519/0.001519, allocations: 184.2 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.817/1.817, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.000956/0.000956, allocations: 87.55 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.614e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3917, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.384/1.776, allocations: 149.5 MB / 1.358 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/1.776, allocations: 76.23 kB / 1.359 GB, free: 18.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003606/1.78, allocations: 0.9146 MB / 1.359 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.825e-06/1.78, allocations: 0 / 1.359 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.78, allocations: 4 kB / 1.359 GB, free: 34.63 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004013/1.78, allocations: 350.8 kB / 1.36 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/1.78, allocations: 11.47 kB / 1.36 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/1.78, allocations: 35.77 kB / 1.36 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/1.78, allocations: 7.812 kB / 1.36 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/1.78, allocations: 195.2 kB / 1.36 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.781, allocations: 3.688 kB / 1.36 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/1.781, allocations: 7.844 kB / 1.36 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.781, allocations: 105.4 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.781, allocations: 0 / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.781, allocations: 3.188 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.781, allocations: 0 / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/1.781, allocations: 38.06 kB / 1.36 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/1.782, allocations: 0.6514 MB / 1.361 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/1.782, allocations: 169.8 kB / 1.361 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/1.782, allocations: 80.14 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/1.782, allocations: 79.28 kB / 1.361 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/1.782, allocations: 109.8 kB / 1.361 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/1.782, allocations: 1.422 kB / 1.361 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.434e-05/1.782, allocations: 38.16 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.782, allocations: 126.7 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.782, allocations: 150.7 kB / 1.362 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/1.782, allocations: 29.7 kB / 1.362 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/1.782, allocations: 109.2 kB / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/1.782, allocations: 0 / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/1.782, allocations: 0 / 1.362 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.782, allocations: 317.2 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/1.782, allocations: 6.781 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/1.782, allocations: 22.36 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/1.782, allocations: 8.516 kB / 1.362 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.783, allocations: 3.938 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001248/1.783, allocations: 66.16 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.783, allocations: 7.812 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.783, allocations: 0.6094 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.783, allocations: 0 / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/1.783, allocations: 8.328 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.783, allocations: 4.891 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.427e-05/1.783, allocations: 3.906 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/1.783, allocations: 3.875 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001179/1.783, allocations: 178 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/1.783, allocations: 113.5 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/1.783, allocations: 121.3 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-05/1.783, allocations: 180.8 kB / 1.363 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.261e-05/1.783, allocations: 184.9 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-05/1.783, allocations: 180.4 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/1.784, allocations: 427.8 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/1.784, allocations: 101.7 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/1.784, allocations: 105.6 kB / 1.364 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.13e-05/1.784, allocations: 188.8 kB / 1.364 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/1.784, allocations: 188.5 kB / 1.364 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.582e-05/1.784, allocations: 180.9 kB / 1.364 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.129e-05/1.784, allocations: 176.9 kB / 1.364 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/1.784, allocations: 316.5 kB / 1.365 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/1.784, allocations: 184.6 kB / 1.365 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/1.785, allocations: 193.1 kB / 1.365 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.785, allocations: 101.7 kB / 1.365 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/1.785, allocations: 176.9 kB / 1.365 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/1.785, allocations: 110.6 kB / 1.365 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001395/1.785, allocations: 132.2 kB / 1.365 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.785, allocations: 0 / 1.365 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002939/1.785, allocations: 10.78 kB / 1.365 GB, free: 28.56 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006276/1.786, allocations: 0.8075 MB / 1.366 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.011e-05/1.786, allocations: 11.88 kB / 1.366 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.786, allocations: 0 / 1.366 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-06/1.786, allocations: 3.906 kB / 1.366 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/1.787, allocations: 0.5248 MB / 1.367 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/1.787, allocations: 215.7 kB / 1.367 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/1.788, allocations: 0.6959 MB / 1.368 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.136e-05/1.788, allocations: 6.688 kB / 1.368 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/1.788, allocations: 19.38 kB / 1.368 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.788, allocations: 0 / 1.368 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/1.804, allocations: 1.411 MB / 1.369 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/1.804, allocations: 163.4 kB / 1.369 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/3.568, allocations: 6.672 kB / 1.369 GB, free: 25.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat does not exist to compare? outputFormat=mat