Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.296/2.296, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001327/0.001327, allocations: 176.9 kB / 496.1 MB, free: 12.89 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.562/1.562, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0009896/0.0009898, allocations: 87.91 kB / 0.9317 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.316e-05/6.336e-05, allocations: 9.719 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2865, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.99/5.277, allocations: 1.867 GB / 3.086 GB, free: 365.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/5.277, allocations: 83.11 kB / 3.086 GB, free: 365.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3905/5.668, allocations: 210.4 MB / 3.291 GB, free: 191.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.272e-06/5.668, allocations: 0 / 3.291 GB, free: 191.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.117e-05/5.668, allocations: 11.92 kB / 3.291 GB, free: 191.2 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009449/5.669, allocations: 0.5687 MB / 3.292 GB, free: 190.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/5.669, allocations: 12.03 kB / 3.292 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.48e-05/5.669, allocations: 46.55 kB / 3.292 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/5.669, allocations: 35.58 kB / 3.292 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/5.669, allocations: 275.5 kB / 3.292 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/5.669, allocations: 12 kB / 3.292 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/5.669, allocations: 31.94 kB / 3.292 GB, free: 190.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/5.67, allocations: 230.5 kB / 3.292 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/5.67, allocations: 3.938 kB / 3.292 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/5.67, allocations: 12 kB / 3.292 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/5.67, allocations: 7.953 kB / 3.292 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/5.67, allocations: 120.4 kB / 3.293 GB, free: 189.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/5.671, allocations: 1.36 MB / 3.294 GB, free: 188.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/5.671, allocations: 163.6 kB / 3.294 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/5.671, allocations: 77.27 kB / 3.294 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/5.672, allocations: 117.1 kB / 3.294 GB, free: 187.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/5.672, allocations: 34.55 kB / 3.294 GB, free: 187.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/5.672, allocations: 0 / 3.294 GB, free: 187.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0003524/5.672, allocations: 133.3 kB / 3.294 GB, free: 187.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/5.672, allocations: 187.9 kB / 3.295 GB, free: 187.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/5.672, allocations: 259.4 kB / 3.295 GB, free: 187.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/5.672, allocations: 25.7 kB / 3.295 GB, free: 187.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/5.672, allocations: 156.2 kB / 3.295 GB, free: 187 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/5.672, allocations: 39.59 kB / 3.295 GB, free: 187 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/5.672, allocations: 4 kB / 3.295 GB, free: 187 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/5.672, allocations: 334.8 kB / 3.295 GB, free: 186.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/5.673, allocations: 28 kB / 3.295 GB, free: 186.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/5.673, allocations: 103 kB / 3.295 GB, free: 186.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/5.673, allocations: 52.03 kB / 3.296 GB, free: 186.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.673, allocations: 3.938 kB / 3.296 GB, free: 186.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002157/5.673, allocations: 169.1 kB / 3.296 GB, free: 186.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/5.673, allocations: 9.406 kB / 3.296 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/5.673, allocations: 0 / 3.296 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/5.673, allocations: 4 kB / 3.296 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/5.673, allocations: 27.98 kB / 3.296 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/5.673, allocations: 11.92 kB / 3.296 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/5.673, allocations: 36.05 kB / 3.296 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/5.673, allocations: 8 kB / 3.296 GB, free: 186.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.781e-05/5.673, allocations: 116.7 kB / 3.296 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/5.674, allocations: 27.67 kB / 3.296 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/5.674, allocations: 103 kB / 3.296 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/5.674, allocations: 4 kB / 3.296 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/5.674, allocations: 0 / 3.296 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/5.674, allocations: 8 kB / 3.296 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/5.674, allocations: 0.7573 MB / 3.297 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/5.674, allocations: 4 kB / 3.297 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/5.675, allocations: 36.06 kB / 3.297 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/5.675, allocations: 7.922 kB / 3.297 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/5.675, allocations: 8 kB / 3.297 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/5.675, allocations: 0 / 3.297 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/5.675, allocations: 4 kB / 3.297 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/5.675, allocations: 344 kB / 3.297 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/5.675, allocations: 112.9 kB / 3.297 GB, free: 184.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/5.675, allocations: 11.98 kB / 3.297 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/5.675, allocations: 12.06 kB / 3.297 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/5.675, allocations: 15.92 kB / 3.297 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/5.675, allocations: 4 kB / 3.297 GB, free: 184.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001537/5.675, allocations: 207.1 kB / 3.298 GB, free: 184.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.61e-07/5.675, allocations: 0 / 3.298 GB, free: 184.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00065/5.676, allocations: 144 kB / 3.298 GB, free: 184.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.001904/5.678, allocations: 2.13 MB / 3.3 GB, free: 181.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000194/5.678, allocations: 87.86 kB / 3.3 GB, free: 181.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/5.678, allocations: 448 / 3.3 GB, free: 181.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/5.678, allocations: 47.92 kB / 3.3 GB, free: 181.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/5.679, allocations: 117.9 kB / 3.3 GB, free: 181.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/5.68, allocations: 441.5 kB / 3.3 GB, free: 181.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/5.68, allocations: 0.7638 MB / 3.301 GB, free: 180.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001622/5.68, allocations: 46.03 kB / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/5.68, allocations: 71.41 kB / 3.301 GB, free: 180.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.7e-07/5.68, allocations: 4 kB / 3.301 GB, free: 180.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/5.719, allocations: 24.74 MB / 3.325 GB, free: 155.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/5.719, allocations: 196.1 kB / 3.326 GB, free: 155.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/8.356, allocations: 0 / 3.326 GB, free: 155.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat