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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.591/2.591, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 16 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7941, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1916/0.9858, allocations: 146.5 MB / 1.097 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005474/0.9913, allocations: 4.22 MB / 1.101 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002818/0.9916, allocations: 7.938 kB / 1.101 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.9921, allocations: 91.34 kB / 1.101 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009028/0.993, allocations: 258.7 kB / 1.101 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.9938, allocations: 226.6 kB / 1.102 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008403/0.9946, allocations: 0.6665 MB / 1.102 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.995, allocations: 153.2 kB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009694/0.9959, allocations: 370.5 kB / 1.103 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.9962, allocations: 187.2 kB / 1.103 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.9963, allocations: 8 kB / 1.103 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.9964, allocations: 63.94 kB / 1.103 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.9966, allocations: 75.78 kB / 1.103 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.9966, allocations: 69.58 kB / 1.103 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.9969, allocations: 211.4 kB / 1.103 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9969, allocations: 4 kB / 1.103 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.015e-06/0.9969, allocations: 0 / 1.103 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.9969, allocations: 3.938 kB / 1.103 GB, free: 6.625 MB / 0.8575 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.0007729/0.9977, allocations: 0.4983 MB / 1.104 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.9978, allocations: 12.03 kB / 1.104 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.9978, allocations: 50.55 kB / 1.104 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.9979, allocations: 31.67 kB / 1.104 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.9982, allocations: 271.6 kB / 1.104 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.9983, allocations: 12 kB / 1.104 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.9983, allocations: 23.91 kB / 1.104 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.9988, allocations: 273.6 kB / 1.104 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.9988, allocations: 3.938 kB / 1.104 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.9988, allocations: 8 kB / 1.104 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9988, allocations: 4 kB / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.9991, allocations: 163.7 kB / 1.105 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/1, allocations: 1.371 MB / 1.106 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/1.001, allocations: 183.7 kB / 1.106 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/1.001, allocations: 105 kB / 1.106 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/1.001, allocations: 129 kB / 1.106 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/1.001, allocations: 34.56 kB / 1.106 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.001, allocations: 0 / 1.106 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006119/1.002, allocations: 225.2 kB / 1.107 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.002, allocations: 188.4 kB / 1.107 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/1.002, allocations: 283 kB / 1.107 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/1.002, allocations: 33.64 kB / 1.107 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/1.003, allocations: 151.9 kB / 1.107 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/1.003, allocations: 35.45 kB / 1.107 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/1.003, allocations: 3.938 kB / 1.107 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.003, allocations: 338.8 kB / 1.108 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/1.003, allocations: 51.95 kB / 1.108 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/1.003, allocations: 115.6 kB / 1.108 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/1.003, allocations: 67.91 kB / 1.108 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.003, allocations: 0 / 1.108 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003576/1.004, allocations: 205.2 kB / 1.108 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.004, allocations: 4 kB / 1.108 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.004, allocations: 4 kB / 1.108 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.004, allocations: 8.219 kB / 1.108 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/1.004, allocations: 31.92 kB / 1.108 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.004, allocations: 7.984 kB / 1.108 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.004, allocations: 31.69 kB / 1.108 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/1.004, allocations: 11.98 kB / 1.108 GB, free: 1.277 MB / 0.8575 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.0001444/1.004, allocations: 145.8 kB / 1.108 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/1.004, allocations: 31.67 kB / 1.108 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/1.005, allocations: 143.3 kB / 1.108 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.005, allocations: 0 / 1.108 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.005, allocations: 7.984 kB / 1.108 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.005, allocations: 4 kB / 1.108 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/1.006, allocations: 0.769 MB / 1.109 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.006, allocations: 0 / 1.109 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/1.006, allocations: 24.14 kB / 1.109 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.006, allocations: 8 kB / 1.109 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/1.006, allocations: 7.984 kB / 1.109 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.006, allocations: 4 kB / 1.109 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.006, allocations: 3.938 kB / 1.109 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/1.006, allocations: 351.3 kB / 1.11 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/1.006, allocations: 116.9 kB / 1.11 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/1.006, allocations: 0 / 1.11 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/1.007, allocations: 11.98 kB / 1.11 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/1.007, allocations: 12 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/1.007, allocations: 7.984 kB / 1.11 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001922/1.007, allocations: 209.9 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.007, allocations: 3.938 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003264/1.007, allocations: 59.94 kB / 1.11 GB, free: 15.24 MB / 0.8731 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.001013/1.008, allocations: 0.9284 MB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003573/1.009, allocations: 127.8 kB / 1.111 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.009, allocations: 448 / 1.111 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/1.009, allocations: 67.91 kB / 1.111 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/1.01, allocations: 117.1 kB / 1.111 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/1.012, allocations: 1.491 MB / 1.113 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/1.012, allocations: 0.7599 MB / 1.113 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001589/1.012, allocations: 50.23 kB / 1.113 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/1.012, allocations: 71.41 kB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/1.012, allocations: 4 kB / 1.114 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/1.031, allocations: 6.323 MB / 1.12 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.031, allocations: 223.6 kB / 1.12 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.944, allocations: 6.562 kB / 1.12 GB, free: 5.113 MB / 0.8731 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