Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001297/0.001297, allocations: 180.8 kB / 496.1 MB, free: 12.88 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.548/1.548, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009613/0.0009613, allocations: 87.91 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.305e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.681/3.94, allocations: 1.712 GB / 2.931 GB, free: 103.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/3.941, allocations: 67.97 kB / 2.931 GB, free: 103 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.0654/4.006, allocations: 37.34 MB / 2.967 GB, free: 65.18 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.645e-06/4.006, allocations: 4 kB / 2.967 GB, free: 65.18 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.921e-06/4.006, allocations: 0 / 2.967 GB, free: 65.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002514/4.006, allocations: 342.4 kB / 2.968 GB, free: 64.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/4.006, allocations: 15.95 kB / 2.968 GB, free: 64.78 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/4.007, allocations: 34.56 kB / 2.968 GB, free: 64.74 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/4.007, allocations: 27.97 kB / 2.968 GB, free: 64.71 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.423e-05/4.007, allocations: 159.1 kB / 2.968 GB, free: 64.52 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/4.007, allocations: 33.64 kB / 2.968 GB, free: 64.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/4.007, allocations: 3.984 kB / 2.968 GB, free: 64.47 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/4.007, allocations: 53.58 kB / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/4.007, allocations: 0 / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/4.007, allocations: 0 / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/4.007, allocations: 8 kB / 2.968 GB, free: 64.41 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/4.007, allocations: 15.98 kB / 2.968 GB, free: 64.39 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/4.007, allocations: 257.7 kB / 2.968 GB, free: 64.09 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.392e-05/4.008, allocations: 22.53 kB / 2.968 GB, free: 64.06 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/4.008, allocations: 16.86 kB / 2.968 GB, free: 64.04 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/4.008, allocations: 97.09 kB / 2.968 GB, free: 63.93 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/4.008, allocations: 30.56 kB / 2.968 GB, free: 63.89 MB / 1.167 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/4.008, allocations: 0 / 2.968 GB, free: 63.89 MB / 1.167 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/4.008, allocations: 45.69 kB / 2.968 GB, free: 63.84 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/4.008, allocations: 51.41 kB / 2.968 GB, free: 63.77 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/4.008, allocations: 96.98 kB / 2.969 GB, free: 63.67 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/4.008, allocations: 33.73 kB / 2.969 GB, free: 63.63 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/4.008, allocations: 84.05 kB / 2.969 GB, free: 63.55 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/4.008, allocations: 3.906 kB / 2.969 GB, free: 63.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/4.008, allocations: 0 / 2.969 GB, free: 63.54 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/4.008, allocations: 318.8 kB / 2.969 GB, free: 63.22 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/4.008, allocations: 7.984 kB / 2.969 GB, free: 63.21 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/4.008, allocations: 22.52 kB / 2.969 GB, free: 63.18 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.055e-05/4.008, allocations: 12 kB / 2.969 GB, free: 63.17 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/4.008, allocations: 0 / 2.969 GB, free: 63.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.54e-05/4.008, allocations: 53.58 kB / 2.969 GB, free: 63.11 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/4.008, allocations: 8 kB / 2.969 GB, free: 63.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/4.008, allocations: 0 / 2.969 GB, free: 63.11 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/4.008, allocations: 0 / 2.969 GB, free: 63.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/4.008, allocations: 8 kB / 2.969 GB, free: 63.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/4.008, allocations: 8.078 kB / 2.969 GB, free: 63.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/4.008, allocations: 7.938 kB / 2.969 GB, free: 63.08 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/4.008, allocations: 4 kB / 2.969 GB, free: 63.08 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.001e-05/4.008, allocations: 101 kB / 2.969 GB, free: 62.97 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/4.008, allocations: 3.953 kB / 2.969 GB, free: 62.97 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/4.008, allocations: 15.06 kB / 2.969 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/4.008, allocations: 0 / 2.969 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/4.009, allocations: 3.938 kB / 2.969 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/4.009, allocations: 3.938 kB / 2.969 GB, free: 62.95 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/4.009, allocations: 363.5 kB / 2.97 GB, free: 62.53 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/4.009, allocations: 0 / 2.97 GB, free: 62.53 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/4.009, allocations: 7.938 kB / 2.97 GB, free: 62.52 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/4.009, allocations: 0 / 2.97 GB, free: 62.52 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/4.009, allocations: 4 kB / 2.97 GB, free: 62.52 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/4.009, allocations: 4 kB / 2.97 GB, free: 62.51 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/4.009, allocations: 0 / 2.97 GB, free: 62.51 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.883e-05/4.009, allocations: 92 kB / 2.97 GB, free: 62.39 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/4.009, allocations: 77.11 kB / 2.97 GB, free: 62.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/4.009, allocations: 0 / 2.97 GB, free: 62.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/4.009, allocations: 11.97 kB / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/4.009, allocations: 0 / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/4.009, allocations: 4 kB / 2.97 GB, free: 62.29 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.208e-05/4.009, allocations: 87.31 kB / 2.97 GB, free: 62.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.91e-07/4.009, allocations: 0 / 2.97 GB, free: 62.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0002637/4.009, allocations: 43.92 kB / 2.97 GB, free: 62.16 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006966/4.01, allocations: 1.132 MB / 2.971 GB, free: 61 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/4.01, allocations: 19.94 kB / 2.971 GB, free: 60.98 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/4.01, allocations: 0 / 2.971 GB, free: 60.98 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/4.01, allocations: 4 kB / 2.971 GB, free: 60.98 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/4.01, allocations: 9.188 kB / 2.971 GB, free: 60.97 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/4.01, allocations: 99.66 kB / 2.971 GB, free: 60.83 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.397e-05/4.011, allocations: 0.6887 MB / 2.972 GB, free: 60.12 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 5.55e-05/4.011, allocations: 4 kB / 2.972 GB, free: 60.11 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/4.011, allocations: 11.44 kB / 2.972 GB, free: 60.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.9e-07/4.011, allocations: 0 / 2.972 GB, free: 60.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/4.032, allocations: 11.96 MB / 2.983 GB, free: 48.25 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/4.033, allocations: 164.8 kB / 2.984 GB, free: 48.02 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/5.939, allocations: 3.938 kB / 2.984 GB, free: 48.02 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat