Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.273/2.273, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001407/0.001408, allocations: 181.1 kB / 498.1 MB, free: 5.746 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.721/1.721, allocations: 223.1 MB / 0.7948 GB, free: 18 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.001298/0.001298, allocations: 97.27 kB / 0.9346 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004035, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3037, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.961/4.265, allocations: 1.866 GB / 3.089 GB, free: 150 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/4.266, allocations: 88.7 kB / 3.089 GB, free: 149.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.129/5.394, allocations: 210.6 MB / 3.295 GB, free: 395.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.506e-06/5.394, allocations: 2.969 kB / 3.295 GB, free: 395.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.913e-05/5.395, allocations: 11.62 kB / 3.295 GB, free: 395.4 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.001188/5.396, allocations: 0.5943 MB / 3.295 GB, free: 394.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/5.396, allocations: 9.938 kB / 3.295 GB, free: 394.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.227e-05/5.396, allocations: 56.38 kB / 3.295 GB, free: 394.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/5.396, allocations: 26.8 kB / 3.295 GB, free: 394.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/5.396, allocations: 284.4 kB / 3.296 GB, free: 394.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/5.396, allocations: 21.42 kB / 3.296 GB, free: 394.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/5.396, allocations: 19.19 kB / 3.296 GB, free: 394.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/5.397, allocations: 257.6 kB / 3.296 GB, free: 394.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/5.397, allocations: 3.375 kB / 3.296 GB, free: 394.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/5.397, allocations: 9.922 kB / 3.296 GB, free: 394.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/5.397, allocations: 7.406 kB / 3.296 GB, free: 394.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/5.397, allocations: 150.7 kB / 3.296 GB, free: 394.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/5.399, allocations: 1.357 MB / 3.298 GB, free: 393.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/5.399, allocations: 179.6 kB / 3.298 GB, free: 393.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/5.399, allocations: 109.9 kB / 3.298 GB, free: 393 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/5.399, allocations: 47.55 kB / 3.298 GB, free: 392.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/5.399, allocations: 0 / 3.298 GB, free: 392.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0005962/5.4, allocations: 221.3 kB / 3.298 GB, free: 392.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/5.4, allocations: 179.9 kB / 3.298 GB, free: 392.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/5.4, allocations: 263.9 kB / 3.298 GB, free: 392.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/5.4, allocations: 25.7 kB / 3.299 GB, free: 392.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/5.4, allocations: 149.8 kB / 3.299 GB, free: 392.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/5.4, allocations: 38.47 kB / 3.299 GB, free: 392.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/5.4, allocations: 4 kB / 3.299 GB, free: 392.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.631e-05/5.4, allocations: 336.8 kB / 3.299 GB, free: 392 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/5.4, allocations: 53.88 kB / 3.299 GB, free: 392 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/5.401, allocations: 119.6 kB / 3.299 GB, free: 391.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/5.401, allocations: 65.48 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/5.401, allocations: 7.453 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000344/5.401, allocations: 191.5 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/5.401, allocations: 7.25 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/5.401, allocations: 3.469 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/5.401, allocations: 5.562 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/5.401, allocations: 36.89 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/5.401, allocations: 7.188 kB / 3.299 GB, free: 391.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/5.402, allocations: 31.2 kB / 3.3 GB, free: 391.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/5.402, allocations: 13.06 kB / 3.3 GB, free: 391.7 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.0001229/5.402, allocations: 150.6 kB / 3.3 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/5.402, allocations: 30.23 kB / 3.3 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/5.402, allocations: 130.9 kB / 3.3 GB, free: 391.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/5.402, allocations: 3.406 kB / 3.3 GB, free: 391.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/5.402, allocations: 3.906 kB / 3.3 GB, free: 391.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/5.402, allocations: 4 kB / 3.3 GB, free: 391.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007319/5.403, allocations: 0.7681 MB / 3.301 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/5.403, allocations: 0 / 3.301 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/5.403, allocations: 30.41 kB / 3.301 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/5.403, allocations: 4 kB / 3.301 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/5.403, allocations: 7.188 kB / 3.301 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/5.403, allocations: 3 kB / 3.301 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/5.403, allocations: 3.188 kB / 3.301 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/5.404, allocations: 399.5 kB / 3.301 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/5.404, allocations: 113.5 kB / 3.301 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/5.404, allocations: 3.562 kB / 3.301 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/5.404, allocations: 15 kB / 3.301 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/5.404, allocations: 18.12 kB / 3.301 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/5.404, allocations: 3.625 kB / 3.301 GB, free: 390.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000164/5.404, allocations: 206 kB / 3.301 GB, free: 390.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1e-07/5.404, allocations: 0 / 3.301 GB, free: 390.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000683/5.405, allocations: 142.1 kB / 3.301 GB, free: 390.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.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.00228/5.407, allocations: 2.174 MB / 3.304 GB, free: 388.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003413/5.407, allocations: 123.2 kB / 3.304 GB, free: 388.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/5.408, allocations: 0 / 3.304 GB, free: 388.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/5.408, allocations: 66.72 kB / 3.304 GB, free: 388.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/5.408, allocations: 121.3 kB / 3.304 GB, free: 388.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/5.411, allocations: 2.52 MB / 3.306 GB, free: 386.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/5.411, allocations: 0.7627 MB / 3.307 GB, free: 386.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001803/5.411, allocations: 44.09 kB / 3.307 GB, free: 386.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/5.411, allocations: 72.44 kB / 3.307 GB, free: 386 MB / 1.167 GB Notification: Performance of SimCode: time 1.021e-06/5.411, allocations: 3.938 kB / 3.307 GB, free: 386 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/5.453, allocations: 22.01 MB / 3.329 GB, free: 372.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/5.453, allocations: 222 kB / 3.329 GB, free: 372.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/8.067, allocations: 0 / 3.329 GB, free: 372.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat