Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001144/0.001144, allocations: 174.1 kB / 498.1 MB, free: 5.727 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.688/1.688, allocations: 223.2 MB / 0.7948 GB, free: 17.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.001015/0.001015, allocations: 104.1 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.00039, allocations: 6.969 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3349, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.503, allocations: 374.4 MB / 1.589 GB, free: 20.68 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.504, allocations: 86.28 kB / 1.589 GB, free: 20.63 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02202/1.526, allocations: 9.633 MB / 1.598 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.916e-06/1.526, allocations: 4 kB / 1.598 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.733e-05/1.526, allocations: 4 kB / 1.598 GB, free: 12.72 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001007/1.527, allocations: 494.3 kB / 1.598 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 8.379e-05/1.527, allocations: 11.75 kB / 1.598 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.64e-05/1.527, allocations: 49.94 kB / 1.599 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/1.527, allocations: 19.72 kB / 1.599 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/1.528, allocations: 240.3 kB / 1.599 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/1.528, allocations: 0 / 1.599 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/1.528, allocations: 4 kB / 1.599 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/1.528, allocations: 147.9 kB / 1.599 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/1.528, allocations: 0 / 1.599 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/1.528, allocations: 3.984 kB / 1.599 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/1.528, allocations: 11.95 kB / 1.599 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/1.529, allocations: 153.1 kB / 1.599 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/1.529, allocations: 449.6 kB / 1.6 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/1.53, allocations: 168 kB / 1.6 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/1.53, allocations: 12.19 kB / 1.6 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/1.53, allocations: 30.56 kB / 1.6 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/1.53, allocations: 0 / 1.6 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0008867/1.531, allocations: 313.9 kB / 1.6 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.531, allocations: 55.39 kB / 1.6 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/1.531, allocations: 184.8 kB / 1.6 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/1.531, allocations: 25.7 kB / 1.6 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/1.531, allocations: 116.9 kB / 1.6 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/1.531, allocations: 50.17 kB / 1.6 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/1.531, allocations: 4 kB / 1.6 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.531, allocations: 329.3 kB / 1.601 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/1.532, allocations: 74.19 kB / 1.601 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.532, allocations: 94.05 kB / 1.601 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/1.532, allocations: 77.2 kB / 1.601 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.532, allocations: 8 kB / 1.601 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005007/1.533, allocations: 221.2 kB / 1.601 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.533, allocations: 11.95 kB / 1.601 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.533, allocations: 0 / 1.601 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.533, allocations: 0 / 1.601 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/1.533, allocations: 39.95 kB / 1.601 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.533, allocations: 0 / 1.601 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/1.533, allocations: 27.45 kB / 1.601 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/1.533, allocations: 4 kB / 1.601 GB, free: 9.527 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001474/1.533, allocations: 128.3 kB / 1.601 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/1.533, allocations: 15.81 kB / 1.601 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/1.533, allocations: 28.22 kB / 1.601 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.534, allocations: 8 kB / 1.601 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.534, allocations: 3.938 kB / 1.601 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.534, allocations: 0 / 1.601 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/1.534, allocations: 268.9 kB / 1.602 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.534, allocations: 3.938 kB / 1.602 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/1.534, allocations: 39.47 kB / 1.602 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.534, allocations: 0 / 1.602 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/1.534, allocations: 0 / 1.602 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.534, allocations: 3.953 kB / 1.602 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.534, allocations: 0 / 1.602 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/1.535, allocations: 333.8 kB / 1.602 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/1.535, allocations: 115.5 kB / 1.602 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/1.535, allocations: 0 / 1.602 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.535, allocations: 19.48 kB / 1.602 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/1.535, allocations: 15.92 kB / 1.602 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/1.535, allocations: 0 / 1.602 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001308/1.535, allocations: 153.9 kB / 1.602 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/1.535, allocations: 4 kB / 1.602 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003144/1.536, allocations: 43.05 kB / 1.602 GB, free: 8.395 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001059/1.537, allocations: 0.9051 MB / 1.603 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005065/1.537, allocations: 187.9 kB / 1.603 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.537, allocations: 0 / 1.603 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/1.537, allocations: 101.1 kB / 1.604 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/1.538, allocations: 31.11 kB / 1.604 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/1.54, allocations: 1.25 MB / 1.605 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/1.54, allocations: 0.7354 MB / 1.606 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001759/1.541, allocations: 56.58 kB / 1.606 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.541, allocations: 47.55 kB / 1.606 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/1.541, allocations: 0 / 1.606 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/1.556, allocations: 4.252 MB / 1.61 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/1.556, allocations: 200.1 kB / 1.61 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/3.383, allocations: 2.672 kB / 1.61 GB, free: 0.957 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat does not exist to compare? outputFormat=mat