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.266/2.266, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001298/0.001297, allocations: 183.9 kB / 0.4901 GB, free: 2.223 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.846/1.846, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001303/0.001303, allocations: 91.05 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004111, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3837, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.957/6.341, allocations: 1.867 GB / 3.096 GB, free: 116.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/6.342, allocations: 89.08 kB / 3.096 GB, free: 116.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.126/7.468, allocations: 210.6 MB / 3.302 GB, free: 373 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.946e-06/7.468, allocations: 0 / 3.302 GB, free: 373 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.748e-05/7.468, allocations: 15.94 kB / 3.302 GB, free: 373 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.001126/7.469, allocations: 0.5957 MB / 3.303 GB, free: 372.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/7.469, allocations: 8.031 kB / 3.303 GB, free: 372.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/7.469, allocations: 54.55 kB / 3.303 GB, free: 372.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/7.469, allocations: 32.83 kB / 3.303 GB, free: 372.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/7.47, allocations: 281 kB / 3.303 GB, free: 372 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/7.47, allocations: 12 kB / 3.303 GB, free: 372 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/7.47, allocations: 27.91 kB / 3.303 GB, free: 371.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/7.47, allocations: 262.9 kB / 3.303 GB, free: 371.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/7.47, allocations: 3.938 kB / 3.303 GB, free: 371.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/7.471, allocations: 8 kB / 3.303 GB, free: 371.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/7.471, allocations: 4 kB / 3.303 GB, free: 371.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/7.471, allocations: 156.3 kB / 3.303 GB, free: 371.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/7.472, allocations: 1.353 MB / 3.305 GB, free: 370 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/7.472, allocations: 179.6 kB / 3.305 GB, free: 369.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/7.473, allocations: 121.1 kB / 3.305 GB, free: 369.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/7.473, allocations: 34.69 kB / 3.305 GB, free: 369.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/7.473, allocations: 0 / 3.305 GB, free: 369.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0005812/7.473, allocations: 213.4 kB / 3.305 GB, free: 369.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/7.473, allocations: 196.2 kB / 3.305 GB, free: 369.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/7.474, allocations: 254.2 kB / 3.306 GB, free: 368.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/7.474, allocations: 29.7 kB / 3.306 GB, free: 368.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/7.474, allocations: 148.2 kB / 3.306 GB, free: 368.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/7.474, allocations: 39.44 kB / 3.306 GB, free: 368.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/7.474, allocations: 4 kB / 3.306 GB, free: 368.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/7.474, allocations: 338.8 kB / 3.306 GB, free: 368.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/7.474, allocations: 51.97 kB / 3.306 GB, free: 368.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/7.474, allocations: 127 kB / 3.306 GB, free: 368.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/7.474, allocations: 56.34 kB / 3.306 GB, free: 368.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/7.474, allocations: 4 kB / 3.306 GB, free: 368.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003032/7.475, allocations: 197.1 kB / 3.307 GB, free: 367.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/7.475, allocations: 4.219 kB / 3.307 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/7.475, allocations: 8 kB / 3.307 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/7.475, allocations: 4 kB / 3.307 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/7.475, allocations: 31.92 kB / 3.307 GB, free: 367.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/7.475, allocations: 4 kB / 3.307 GB, free: 367.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/7.475, allocations: 32.14 kB / 3.307 GB, free: 367.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/7.475, allocations: 11.98 kB / 3.307 GB, free: 367.8 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 () * Number of clocked 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 0.0001201/7.475, allocations: 153.7 kB / 3.307 GB, free: 367.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/7.475, allocations: 27.62 kB / 3.307 GB, free: 367.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/7.476, allocations: 135 kB / 3.307 GB, free: 367.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/7.476, allocations: 4 kB / 3.307 GB, free: 367.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/7.476, allocations: 11.92 kB / 3.307 GB, free: 367.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/7.476, allocations: 4 kB / 3.307 GB, free: 367.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/7.476, allocations: 0.769 MB / 3.308 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/7.476, allocations: 0 / 3.308 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/7.476, allocations: 32.12 kB / 3.308 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/7.476, allocations: 0 / 3.308 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/7.476, allocations: 4 kB / 3.308 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/7.476, allocations: 4 kB / 3.308 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/7.476, allocations: 3.953 kB / 3.308 GB, free: 366.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/7.477, allocations: 407.9 kB / 3.308 GB, free: 366.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/7.477, allocations: 104.8 kB / 3.308 GB, free: 366 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/7.477, allocations: 7.984 kB / 3.308 GB, free: 366 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/7.477, allocations: 16.06 kB / 3.308 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/7.477, allocations: 11.94 kB / 3.308 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/7.477, allocations: 4 kB / 3.308 GB, free: 365.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001623/7.477, allocations: 209.9 kB / 3.308 GB, free: 365.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.477, allocations: 0 / 3.308 GB, free: 365.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007017/7.478, allocations: 140 kB / 3.309 GB, free: 365.6 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 () * 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.001884/7.48, allocations: 2.177 MB / 3.311 GB, free: 363.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003269/7.48, allocations: 124.1 kB / 3.311 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/7.48, allocations: 0 / 3.311 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/7.48, allocations: 59.91 kB / 3.311 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/7.481, allocations: 126.9 kB / 3.311 GB, free: 363.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/7.483, allocations: 2.52 MB / 3.314 GB, free: 360.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/7.484, allocations: 0.7638 MB / 3.314 GB, free: 359.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00018/7.484, allocations: 46.25 kB / 3.314 GB, free: 359.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/7.484, allocations: 71.41 kB / 3.314 GB, free: 359.5 MB / 1.167 GB Notification: Performance of SimCode: time 5.881e-06/7.484, allocations: 4 kB / 3.314 GB, free: 359.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03998/7.524, allocations: 22.02 MB / 3.336 GB, free: 337.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/7.524, allocations: 226 kB / 3.336 GB, free: 337.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/9.95, allocations: 0 / 3.336 GB, free: 337.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