Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.37/2.37, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001053/0.001053, allocations: 174.8 kB / 498.1 MB, free: 5.742 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.703/1.703, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009812/0.0009813, allocations: 100.2 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004121, allocations: 8.25 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3398, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.507, allocations: 375.6 MB / 1.59 GB, free: 19.62 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.508, allocations: 91.88 kB / 1.59 GB, free: 19.57 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.0276/1.535, allocations: 11.87 MB / 1.601 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.505e-06/1.535, allocations: 3.938 kB / 1.601 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.411e-05/1.535, allocations: 4 kB / 1.601 GB, free: 9.727 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001319/1.537, allocations: 0.6564 MB / 1.602 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.537, allocations: 12.02 kB / 1.602 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/1.537, allocations: 46 kB / 1.602 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007382/1.537, allocations: 131.5 kB / 1.602 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/1.538, allocations: 333.1 kB / 1.603 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.538, allocations: 8.125 kB / 1.603 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/1.538, allocations: 10.94 kB / 1.603 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/1.539, allocations: 251.5 kB / 1.603 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.539, allocations: 0 / 1.603 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/1.539, allocations: 11.7 kB / 1.603 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.539, allocations: 0 / 1.603 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/1.54, allocations: 344.9 kB / 1.603 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/1.541, allocations: 0.5961 MB / 1.604 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/1.542, allocations: 196 kB / 1.604 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005567/1.542, allocations: 0.5165 MB / 1.604 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.542, allocations: 38.56 kB / 1.605 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/1.542, allocations: 3.938 kB / 1.605 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.00153/1.544, allocations: 0.5616 MB / 1.605 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/1.544, allocations: 63.33 kB / 1.605 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/1.544, allocations: 229.7 kB / 1.605 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.544, allocations: 25.7 kB / 1.605 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/1.544, allocations: 151.7 kB / 1.606 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/1.544, allocations: 49.73 kB / 1.606 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/1.544, allocations: 4 kB / 1.606 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/1.544, allocations: 338 kB / 1.606 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/1.545, allocations: 177.1 kB / 1.606 GB, free: 5.176 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/1.545, allocations: 171.8 kB / 1.606 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/1.546, allocations: 174.7 kB / 1.606 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.546, allocations: 4 kB / 1.606 GB, free: 4.898 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001023/1.547, allocations: 433.2 kB / 1.607 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.547, allocations: 4 kB / 1.607 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.547, allocations: 3.984 kB / 1.607 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.547, allocations: 0 / 1.607 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/1.547, allocations: 83.17 kB / 1.607 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.547, allocations: 7.984 kB / 1.607 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/1.548, allocations: 51.86 kB / 1.607 GB, free: 4.395 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/1.548, allocations: 11.48 kB / 1.607 GB, free: 4.387 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 (17): * Single equations (assignments): 17 * 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.0001381/1.548, allocations: 139.5 kB / 1.607 GB, free: 4.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/1.548, allocations: 23.72 kB / 1.607 GB, free: 4.227 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/1.549, allocations: 432.5 kB / 1.608 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.549, allocations: 4 kB / 1.608 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.549, allocations: 7.984 kB / 1.608 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.549, allocations: 0 / 1.608 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/1.549, allocations: 320.2 kB / 1.608 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.549, allocations: 0 / 1.608 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/1.55, allocations: 75.92 kB / 1.608 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/1.55, allocations: 0 / 1.608 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.55, allocations: 7.547 kB / 1.608 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.55, allocations: 4 kB / 1.608 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.55, allocations: 0 / 1.608 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/1.551, allocations: 0.4892 MB / 1.608 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.551, allocations: 118.6 kB / 1.609 GB, free: 2.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/1.551, allocations: 15.11 kB / 1.609 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/1.551, allocations: 50.95 kB / 1.609 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/1.552, allocations: 19.09 kB / 1.609 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/1.552, allocations: 3.938 kB / 1.609 GB, free: 2.824 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001314/1.552, allocations: 193.9 kB / 1.609 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/1.552, allocations: 0 / 1.609 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000406/1.552, allocations: 78.25 kB / 1.609 GB, free: 2.594 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.001552/1.554, allocations: 1.112 MB / 1.61 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001055/1.555, allocations: 385 kB / 1.61 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.555, allocations: 0 / 1.61 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/1.555, allocations: 195.3 kB / 1.61 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/1.556, allocations: 34.36 kB / 1.611 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/1.557, allocations: 0.8711 MB / 1.611 GB, free: 172 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/1.557, allocations: 0.7516 MB / 1.612 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002626/1.558, allocations: 57.36 kB / 1.612 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.558, allocations: 75.58 kB / 1.612 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of SimCode: time 4.6e-07/1.558, allocations: 0 / 1.612 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/1.578, allocations: 6.016 MB / 1.618 GB, free: 9.492 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.579, allocations: 196.8 kB / 1.618 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/3.573, allocations: 0 / 1.618 GB, free: 9.254 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat