Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy",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.177/2.177, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001067/0.001067, allocations: 191 kB / 496.1 MB, free: 12.83 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.428/1.428, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009811/0.0009812, allocations: 91.95 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.389e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2852, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.968/5.253, allocations: 1.868 GB / 3.087 GB, free: 436.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/5.254, allocations: 91.33 kB / 3.087 GB, free: 436.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4244/5.678, allocations: 224.7 MB / 3.306 GB, free: 218.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.333e-06/5.678, allocations: 0 / 3.306 GB, free: 218.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.769e-05/5.678, allocations: 4 kB / 3.306 GB, free: 218.9 MB / 1.167 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.001111/5.679, allocations: 0.6157 MB / 3.307 GB, free: 218.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/5.679, allocations: 16.03 kB / 3.307 GB, free: 218.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/5.68, allocations: 50.55 kB / 3.307 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000659/5.68, allocations: 87.44 kB / 3.307 GB, free: 218.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/5.681, allocations: 283.5 kB / 3.307 GB, free: 217.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/5.681, allocations: 27.94 kB / 3.307 GB, free: 217.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/5.681, allocations: 19.94 kB / 3.307 GB, free: 217.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/5.681, allocations: 259.5 kB / 3.307 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/5.681, allocations: 0 / 3.307 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/5.681, allocations: 12 kB / 3.307 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/5.681, allocations: 4 kB / 3.307 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/5.681, allocations: 167.8 kB / 3.307 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/5.683, allocations: 1.226 MB / 3.309 GB, free: 216 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/5.683, allocations: 161 kB / 3.309 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/5.683, allocations: 96.25 kB / 3.309 GB, free: 215.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/5.683, allocations: 323.2 kB / 3.309 GB, free: 215.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/5.684, allocations: 46.69 kB / 3.309 GB, free: 215.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/5.684, allocations: 0 / 3.309 GB, free: 215.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0004219/5.684, allocations: 173.2 kB / 3.309 GB, free: 215.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/5.684, allocations: 162.2 kB / 3.31 GB, free: 214.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/5.684, allocations: 247.5 kB / 3.31 GB, free: 214.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/5.684, allocations: 37.64 kB / 3.31 GB, free: 214.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/5.684, allocations: 148.4 kB / 3.31 GB, free: 214.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/5.684, allocations: 55.28 kB / 3.31 GB, free: 214.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/5.684, allocations: 4 kB / 3.31 GB, free: 214.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.803e-05/5.684, allocations: 330.8 kB / 3.31 GB, free: 214 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/5.685, allocations: 55.97 kB / 3.31 GB, free: 214 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/5.685, allocations: 131.8 kB / 3.311 GB, free: 213.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/5.685, allocations: 71.89 kB / 3.311 GB, free: 213.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/5.685, allocations: 11.89 kB / 3.311 GB, free: 213.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003148/5.685, allocations: 205.1 kB / 3.311 GB, free: 213.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/5.685, allocations: 8 kB / 3.311 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/5.685, allocations: 0 / 3.311 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/5.685, allocations: 7.984 kB / 3.311 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/5.685, allocations: 44.22 kB / 3.311 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/5.685, allocations: 11.94 kB / 3.311 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/5.686, allocations: 35.73 kB / 3.311 GB, free: 213.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/5.686, allocations: 8 kB / 3.311 GB, free: 213.4 MB / 1.167 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 6.127e-05/5.686, allocations: 116.9 kB / 3.311 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/5.686, allocations: 27.67 kB / 3.311 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/5.686, allocations: 170 kB / 3.311 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/5.686, allocations: 4 kB / 3.311 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/5.686, allocations: 0 / 3.311 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/5.686, allocations: 4 kB / 3.311 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/5.687, allocations: 0.816 MB / 3.312 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/5.687, allocations: 4.031 kB / 3.312 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/5.687, allocations: 23.98 kB / 3.312 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/5.687, allocations: 4 kB / 3.312 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/5.687, allocations: 0 / 3.312 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/5.687, allocations: 4 kB / 3.312 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/5.687, allocations: 7.922 kB / 3.312 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/5.687, allocations: 352 kB / 3.312 GB, free: 211.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/5.687, allocations: 120.7 kB / 3.313 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/5.687, allocations: 4 kB / 3.313 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/5.688, allocations: 15.98 kB / 3.313 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/5.688, allocations: 8.078 kB / 3.313 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/5.688, allocations: 7.938 kB / 3.313 GB, free: 211.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001774/5.688, allocations: 235.1 kB / 3.313 GB, free: 211.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/5.688, allocations: 4.062 kB / 3.313 GB, free: 211.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007163/5.689, allocations: 179.9 kB / 3.313 GB, free: 211.2 MB / 1.167 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.0018/5.69, allocations: 2.166 MB / 3.315 GB, free: 208.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002217/5.691, allocations: 111.8 kB / 3.315 GB, free: 208.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/5.691, allocations: 4 kB / 3.315 GB, free: 208.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.291e-05/5.691, allocations: 43.88 kB / 3.315 GB, free: 208.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/5.691, allocations: 131.6 kB / 3.315 GB, free: 208.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/5.692, allocations: 460 kB / 3.316 GB, free: 208.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/5.692, allocations: 0.7599 MB / 3.317 GB, free: 207.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001979/5.693, allocations: 67 kB / 3.317 GB, free: 207.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/5.693, allocations: 71.42 kB / 3.317 GB, free: 207.2 MB / 1.167 GB Notification: Performance of SimCode: time 3.6e-07/5.693, allocations: 0 / 3.317 GB, free: 207.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/5.73, allocations: 25.98 MB / 3.342 GB, free: 181.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/5.731, allocations: 194.9 kB / 3.342 GB, free: 181.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.642/8.372, allocations: 1.828 kB / 3.342 GB, free: 181.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat does not exist to compare? outputFormat=mat