Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.105/2.105, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001194/0.001194, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.000954/0.0009531, allocations: 87.91 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.113e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3004, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.301, allocations: 151.6 MB / 1.367 GB, free: 2.422 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/1.301, allocations: 89.59 kB / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00512/1.307, allocations: 1.69 MB / 1.369 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.483e-06/1.307, allocations: 4 kB / 1.369 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.645e-06/1.307, allocations: 0 / 1.369 GB, free: 0.8789 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003853/1.307, allocations: 385.4 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.307, allocations: 8.031 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.523e-05/1.307, allocations: 34.56 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007356/1.308, allocations: 107.7 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/1.308, allocations: 183.5 kB / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.477e-05/1.308, allocations: 33.69 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/1.308, allocations: 3.438 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/1.308, allocations: 127.5 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.308, allocations: 0 / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/1.308, allocations: 3.125 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.308, allocations: 4 kB / 1.369 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/1.309, allocations: 150.2 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/1.309, allocations: 466.6 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/1.31, allocations: 141.2 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/1.31, allocations: 78.17 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/1.31, allocations: 7.891 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/1.31, allocations: 34.31 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.31, allocations: 1.969 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003322/1.31, allocations: 161 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/1.31, allocations: 51.41 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/1.31, allocations: 151.6 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/1.31, allocations: 25.7 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/1.31, allocations: 101 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/1.311, allocations: 11.89 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/1.311, allocations: 0 / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/1.311, allocations: 316.8 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/1.311, allocations: 67.81 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/1.311, allocations: 67.38 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.792e-05/1.311, allocations: 50.39 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.311, allocations: 0 / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002517/1.311, allocations: 159.7 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.311, allocations: 11.95 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.311, allocations: 3.062 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.311, allocations: 0 / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/1.311, allocations: 27.95 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.311, allocations: 3.938 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.312, allocations: 23.78 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/1.312, allocations: 16.02 kB / 1.372 GB, free: 14.01 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.743e-05/1.312, allocations: 101 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/1.312, allocations: 7.906 kB / 1.372 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/1.312, allocations: 14.8 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/1.312, allocations: 0 / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.312, allocations: 4 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.312, allocations: 3.938 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/1.312, allocations: 229.8 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.312, allocations: 0 / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/1.312, allocations: 35.95 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.312, allocations: 0 / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/1.312, allocations: 11.36 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.312, allocations: 3.953 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.312, allocations: 0 / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/1.313, allocations: 255.4 kB / 1.372 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/1.313, allocations: 88.73 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/1.313, allocations: 4 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/1.313, allocations: 15.98 kB / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/1.313, allocations: 7.938 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/1.313, allocations: 11.98 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.696e-05/1.313, allocations: 134.3 kB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.313, allocations: 0 / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002379/1.313, allocations: 23.94 kB / 1.372 GB, free: 13.06 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 (2): * Single equations (assignments): 2 * 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.0005733/1.314, allocations: 0.8142 MB / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002376/1.314, allocations: 164.2 kB / 1.373 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.314, allocations: 0 / 1.373 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.314, allocations: 88.81 kB / 1.373 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/1.314, allocations: 11.98 kB / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/1.315, allocations: 219.2 kB / 1.374 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/1.315, allocations: 0.7002 MB / 1.374 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001122/1.315, allocations: 32 kB / 1.374 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/1.315, allocations: 29.97 kB / 1.374 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.315, allocations: 0 / 1.374 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/1.328, allocations: 2.227 MB / 1.377 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.328, allocations: 167.4 kB / 1.377 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.917, allocations: 0 / 1.377 GB, free: 8.723 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat does not exist to compare? outputFormat=mat