Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.214/2.214, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001092/0.001093, allocations: 172.8 kB / 487.4 MB, free: 5.051 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.467/1.467, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009006, allocations: 91.97 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.024e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2372, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.095/4.332, allocations: 1.866 GB / 3.072 GB, free: 14.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/4.333, allocations: 79.95 kB / 3.072 GB, free: 14.32 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.9968/5.329, allocations: 221.7 MB / 3.289 GB, free: 258.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.172e-06/5.33, allocations: 4 kB / 3.289 GB, free: 258.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.978e-05/5.33, allocations: 4 kB / 3.289 GB, free: 258.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009359/5.33, allocations: 0.6157 MB / 3.289 GB, free: 257.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/5.331, allocations: 16.02 kB / 3.289 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/5.331, allocations: 75.55 kB / 3.29 GB, free: 257.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/5.332, allocations: 295.5 kB / 3.29 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/5.332, allocations: 7.984 kB / 3.29 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/5.332, allocations: 12 kB / 3.29 GB, free: 257.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002378/5.332, allocations: 151.9 kB / 3.29 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/5.332, allocations: 232.7 kB / 3.29 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/5.332, allocations: 15.89 kB / 3.29 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/5.332, allocations: 0 / 3.29 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/5.332, allocations: 4 kB / 3.29 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/5.334, allocations: 1.437 MB / 3.292 GB, free: 255.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/5.334, allocations: 137.1 kB / 3.292 GB, free: 255.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/5.334, allocations: 68.34 kB / 3.292 GB, free: 255.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/5.334, allocations: 117 kB / 3.292 GB, free: 255.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/5.334, allocations: 42.55 kB / 3.292 GB, free: 255.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/5.334, allocations: 3.938 kB / 3.292 GB, free: 255 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004141/5.335, allocations: 137.3 kB / 3.292 GB, free: 254.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/5.335, allocations: 158.2 kB / 3.292 GB, free: 254.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/5.335, allocations: 207.9 kB / 3.292 GB, free: 254.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/5.335, allocations: 25.7 kB / 3.292 GB, free: 254.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/5.335, allocations: 167.9 kB / 3.293 GB, free: 254.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/5.335, allocations: 35.45 kB / 3.293 GB, free: 254.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/5.335, allocations: 0 / 3.293 GB, free: 254.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/5.335, allocations: 338.9 kB / 3.293 GB, free: 253.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/5.335, allocations: 43.98 kB / 3.293 GB, free: 253.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/5.335, allocations: 131.8 kB / 3.293 GB, free: 253.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/5.336, allocations: 91.86 kB / 3.293 GB, free: 253.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/5.336, allocations: 0 / 3.293 GB, free: 253.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000405/5.336, allocations: 213.4 kB / 3.293 GB, free: 253.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/5.336, allocations: 11.98 kB / 3.293 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/5.336, allocations: 0 / 3.293 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/5.336, allocations: 4 kB / 3.293 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/5.336, allocations: 39.92 kB / 3.294 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/5.336, allocations: 4 kB / 3.294 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/5.336, allocations: 23.92 kB / 3.294 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/5.336, allocations: 15.98 kB / 3.294 GB, free: 253.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.639e-05/5.337, allocations: 116.9 kB / 3.294 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000314/5.337, allocations: 137.3 kB / 3.294 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/5.337, allocations: 19.72 kB / 3.294 GB, free: 253 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/5.337, allocations: 111.5 kB / 3.294 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/5.337, allocations: 0 / 3.294 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/5.337, allocations: 4.125 kB / 3.294 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/5.337, allocations: 4 kB / 3.294 GB, free: 252.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/5.338, allocations: 0.7932 MB / 3.295 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/5.338, allocations: 4 kB / 3.295 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/5.338, allocations: 28.14 kB / 3.295 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/5.338, allocations: 0 / 3.295 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/5.338, allocations: 8 kB / 3.295 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/5.338, allocations: 3.938 kB / 3.295 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/5.338, allocations: 15.88 kB / 3.295 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/5.339, allocations: 356 kB / 3.295 GB, free: 251.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/5.339, allocations: 112.8 kB / 3.295 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/5.339, allocations: 64 / 3.295 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/5.339, allocations: 15.98 kB / 3.295 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/5.339, allocations: 15.95 kB / 3.295 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/5.339, allocations: 4 kB / 3.295 GB, free: 251.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.727e-05/5.339, allocations: 164.5 kB / 3.295 GB, free: 251.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.339, allocations: 0 / 3.295 GB, free: 251.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006464/5.34, allocations: 163.8 kB / 3.296 GB, free: 251.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001953/5.342, allocations: 2.297 MB / 3.298 GB, free: 248.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002106/5.342, allocations: 103.8 kB / 3.298 GB, free: 248.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/5.342, allocations: 0 / 3.298 GB, free: 248.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/5.342, allocations: 47.92 kB / 3.298 GB, free: 248.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/5.342, allocations: 69.36 kB / 3.298 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/5.343, allocations: 435.4 kB / 3.298 GB, free: 248.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/5.344, allocations: 0.7633 MB / 3.299 GB, free: 247.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001707/5.344, allocations: 45.83 kB / 3.299 GB, free: 247.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/5.344, allocations: 75.34 kB / 3.299 GB, free: 247.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/5.344, allocations: 0 / 3.299 GB, free: 247.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/5.38, allocations: 13.19 MB / 3.312 GB, free: 234 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/5.38, allocations: 166.9 kB / 3.312 GB, free: 233.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/7.512, allocations: 4 kB / 3.312 GB, free: 233.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat does not exist to compare? outputFormat=mat