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.335/2.335, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.00124/0.00124, allocations: 169.1 kB / 498.1 MB, free: 5.684 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.572/1.572, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.000963/0.0009629, allocations: 104.9 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004196, allocations: 9.031 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.383/4.676, allocations: 1.867 GB / 3.09 GB, free: 119.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/4.676, allocations: 87.08 kB / 3.09 GB, free: 119.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.209/5.886, allocations: 224.9 MB / 3.31 GB, free: 374.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.114e-06/5.886, allocations: 0 / 3.31 GB, free: 374.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.785e-05/5.886, allocations: 12 kB / 3.31 GB, free: 374.1 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.001593/5.887, allocations: 0.6549 MB / 3.31 GB, free: 373.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/5.887, allocations: 12.83 kB / 3.31 GB, free: 373.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.852e-05/5.887, allocations: 50.55 kB / 3.31 GB, free: 373.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/5.888, allocations: 76.84 kB / 3.31 GB, free: 373.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/5.889, allocations: 289.8 kB / 3.311 GB, free: 372.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/5.889, allocations: 16 kB / 3.311 GB, free: 372.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/5.889, allocations: 24 kB / 3.311 GB, free: 372.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/5.889, allocations: 291.2 kB / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/5.889, allocations: 0 / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/5.889, allocations: 8 kB / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/5.889, allocations: 4 kB / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/5.89, allocations: 207.8 kB / 3.311 GB, free: 372.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/5.891, allocations: 1.223 MB / 3.312 GB, free: 371.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/5.891, allocations: 173 kB / 3.312 GB, free: 370.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/5.892, allocations: 331.2 kB / 3.313 GB, free: 370.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/5.892, allocations: 34.56 kB / 3.313 GB, free: 370.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/5.892, allocations: 0 / 3.313 GB, free: 370.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=13): time 0.0007126/5.893, allocations: 289.8 kB / 3.313 GB, free: 370.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/5.893, allocations: 154.2 kB / 3.313 GB, free: 369.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/5.893, allocations: 258.1 kB / 3.313 GB, free: 369.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/5.893, allocations: 29.7 kB / 3.314 GB, free: 369.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/5.893, allocations: 152.1 kB / 3.314 GB, free: 369.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/5.893, allocations: 51.28 kB / 3.314 GB, free: 369.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/5.893, allocations: 8 kB / 3.314 GB, free: 369.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/5.893, allocations: 338.8 kB / 3.314 GB, free: 369.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/5.893, allocations: 72.31 kB / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/5.894, allocations: 150.2 kB / 3.314 GB, free: 368.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/5.894, allocations: 88.25 kB / 3.314 GB, free: 368.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/5.894, allocations: 0 / 3.314 GB, free: 368.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004584/5.894, allocations: 257.2 kB / 3.315 GB, free: 368.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/5.894, allocations: 4.781 kB / 3.315 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/5.894, allocations: 4 kB / 3.315 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/5.894, allocations: 0 / 3.315 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/5.895, allocations: 35.98 kB / 3.315 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/5.895, allocations: 11.92 kB / 3.315 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/5.895, allocations: 43.92 kB / 3.315 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/5.895, allocations: 8 kB / 3.315 GB, free: 368.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 () * Number of clocked 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 0.0001307/5.895, allocations: 157.7 kB / 3.315 GB, free: 368.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/5.895, allocations: 27.7 kB / 3.315 GB, free: 368.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/5.896, allocations: 185.9 kB / 3.315 GB, free: 368 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/5.896, allocations: 4 kB / 3.315 GB, free: 368 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/5.896, allocations: 0 / 3.315 GB, free: 368 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/5.896, allocations: 0 / 3.315 GB, free: 368 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/5.896, allocations: 0.8549 MB / 3.316 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/5.897, allocations: 3.984 kB / 3.316 GB, free: 367.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/5.897, allocations: 28.14 kB / 3.316 GB, free: 367 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/5.897, allocations: 4 kB / 3.316 GB, free: 367 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/5.897, allocations: 0 / 3.316 GB, free: 367 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/5.897, allocations: 7.938 kB / 3.316 GB, free: 367 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/5.897, allocations: 7.891 kB / 3.316 GB, free: 367 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/5.897, allocations: 404 kB / 3.316 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/5.897, allocations: 120.8 kB / 3.316 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/5.897, allocations: 4 kB / 3.316 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/5.898, allocations: 12.05 kB / 3.316 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/5.898, allocations: 19.94 kB / 3.316 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/5.898, allocations: 4.125 kB / 3.316 GB, free: 366.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002229/5.898, allocations: 233.9 kB / 3.317 GB, free: 366.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.898, allocations: 0 / 3.317 GB, free: 366.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008271/5.899, allocations: 179.9 kB / 3.317 GB, free: 366 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 () * Number of clocked 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.002371/5.901, allocations: 2.222 MB / 3.319 GB, free: 363.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003904/5.901, allocations: 151.8 kB / 3.319 GB, free: 363.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/5.901, allocations: 0 / 3.319 GB, free: 363.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/5.902, allocations: 64.72 kB / 3.319 GB, free: 363.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/5.902, allocations: 122.6 kB / 3.319 GB, free: 363.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/5.905, allocations: 2.772 MB / 3.322 GB, free: 360.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/5.905, allocations: 0.7638 MB / 3.323 GB, free: 359.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002338/5.905, allocations: 70.81 kB / 3.323 GB, free: 359.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/5.905, allocations: 71.42 kB / 3.323 GB, free: 359.6 MB / 1.167 GB Notification: Performance of SimCode: time 2.9e-07/5.905, allocations: 0 / 3.323 GB, free: 359.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/5.947, allocations: 23.24 MB / 3.346 GB, free: 336.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/5.947, allocations: 216.6 kB / 3.346 GB, free: 336.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/8.619, allocations: 4 kB / 3.346 GB, free: 336.3 MB / 1.167 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