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.128/2.128, allocations: 390.5 MB / 398 MB, free: 10.92 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.0009554/0.0009554, allocations: 172.9 kB / 491.2 MB, free: 1.551 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.436/1.436, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.000887/0.000887, allocations: 87.94 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.289e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.115/4.345, allocations: 1.711 GB / 2.924 GB, free: 127.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/4.345, allocations: 72.31 kB / 2.924 GB, free: 127.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.06601/4.412, allocations: 36.7 MB / 2.96 GB, free: 96.93 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.083e-06/4.412, allocations: 7.984 kB / 2.96 GB, free: 96.92 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.364e-06/4.412, allocations: 0 / 2.96 GB, free: 96.92 MB / 1.151 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.0002913/4.412, allocations: 342.4 kB / 2.96 GB, free: 96.54 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/4.412, allocations: 8.031 kB / 2.96 GB, free: 96.54 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/4.412, allocations: 23.97 kB / 2.96 GB, free: 96.51 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.153e-05/4.412, allocations: 159.9 kB / 2.96 GB, free: 96.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/4.412, allocations: 25.7 kB / 2.96 GB, free: 96.29 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/4.412, allocations: 7.938 kB / 2.96 GB, free: 96.28 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.327e-05/4.412, allocations: 31.92 kB / 2.96 GB, free: 96.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.097e-05/4.413, allocations: 45.64 kB / 2.96 GB, free: 96.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/4.413, allocations: 0 / 2.96 GB, free: 96.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/4.413, allocations: 0 / 2.96 GB, free: 96.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/4.413, allocations: 4 kB / 2.96 GB, free: 96.19 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/4.413, allocations: 326.5 kB / 2.96 GB, free: 95.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.293e-05/4.413, allocations: 18.58 kB / 2.961 GB, free: 95.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/4.413, allocations: 4.859 kB / 2.961 GB, free: 95.78 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/4.413, allocations: 8.016 kB / 2.961 GB, free: 95.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/4.413, allocations: 42.44 kB / 2.961 GB, free: 95.72 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/4.413, allocations: 0 / 2.961 GB, free: 95.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001871/4.413, allocations: 37.69 kB / 2.961 GB, free: 95.68 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/4.413, allocations: 55.44 kB / 2.961 GB, free: 95.61 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/4.413, allocations: 101 kB / 2.961 GB, free: 95.51 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/4.413, allocations: 25.7 kB / 2.961 GB, free: 95.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/4.413, allocations: 84.05 kB / 2.961 GB, free: 95.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-06/4.413, allocations: 11.84 kB / 2.961 GB, free: 95.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/4.414, allocations: 0 / 2.961 GB, free: 95.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.085e-05/4.414, allocations: 314.8 kB / 2.961 GB, free: 95.06 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/4.414, allocations: 4 kB / 2.961 GB, free: 95.06 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/4.414, allocations: 26.56 kB / 2.961 GB, free: 95.02 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.915e-05/4.414, allocations: 11.94 kB / 2.961 GB, free: 95.01 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/4.414, allocations: 0 / 2.961 GB, free: 95.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.841e-05/4.414, allocations: 45.69 kB / 2.961 GB, free: 94.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/4.414, allocations: 4 kB / 2.961 GB, free: 94.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/4.414, allocations: 4.047 kB / 2.961 GB, free: 94.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/4.414, allocations: 4 kB / 2.961 GB, free: 94.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/4.414, allocations: 11.94 kB / 2.961 GB, free: 94.94 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/4.414, allocations: 0 / 2.961 GB, free: 94.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/4.414, allocations: 0 / 2.961 GB, free: 94.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/4.414, allocations: 4 kB / 2.961 GB, free: 94.93 MB / 1.151 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 5.213e-05/4.414, allocations: 109 kB / 2.961 GB, free: 94.82 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.708e-05/4.414, allocations: 37.61 kB / 2.961 GB, free: 94.78 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/4.414, allocations: 7.891 kB / 2.961 GB, free: 94.77 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/4.414, allocations: 7.781 kB / 2.961 GB, free: 94.76 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/4.414, allocations: 0 / 2.961 GB, free: 94.76 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/4.414, allocations: 0 / 2.961 GB, free: 94.76 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/4.414, allocations: 4.094 kB / 2.961 GB, free: 94.76 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/4.414, allocations: 331.2 kB / 2.962 GB, free: 94.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/4.414, allocations: 4 kB / 2.962 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/4.414, allocations: 0 / 2.962 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/4.414, allocations: 0 / 2.962 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/4.414, allocations: 0 / 2.962 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/4.414, allocations: 4.031 kB / 2.962 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/4.414, allocations: 256 / 2.962 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.847e-05/4.414, allocations: 53.14 kB / 2.962 GB, free: 94.31 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/4.414, allocations: 89.05 kB / 2.962 GB, free: 94.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/4.414, allocations: 7.938 kB / 2.962 GB, free: 94.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/4.415, allocations: 4 kB / 2.962 GB, free: 94.19 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/4.415, allocations: 0 / 2.962 GB, free: 94.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/4.415, allocations: 4.031 kB / 2.962 GB, free: 94.19 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.667e-05/4.415, allocations: 87.22 kB / 2.962 GB, free: 94.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/4.415, allocations: 0 / 2.962 GB, free: 94.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002371/4.415, allocations: 31.98 kB / 2.962 GB, free: 94.07 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008237/4.416, allocations: 1.132 MB / 2.963 GB, free: 92.92 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.232e-05/4.416, allocations: 24.05 kB / 2.963 GB, free: 92.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/4.416, allocations: 0 / 2.963 GB, free: 92.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/4.416, allocations: 4 kB / 2.963 GB, free: 92.89 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/4.416, allocations: 1.25 kB / 2.963 GB, free: 92.89 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/4.416, allocations: 85.66 kB / 2.963 GB, free: 92.77 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/4.416, allocations: 0.6806 MB / 2.964 GB, free: 92.07 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.62e-05/4.416, allocations: 12.11 kB / 2.964 GB, free: 92.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/4.416, allocations: 7.438 kB / 2.964 GB, free: 92.05 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/4.416, allocations: 4 kB / 2.964 GB, free: 92.04 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/4.439, allocations: 5.272 MB / 2.969 GB, free: 86.77 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/4.439, allocations: 149.7 kB / 2.969 GB, free: 86.58 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/6.106, allocations: 4 kB / 2.969 GB, free: 86.58 MB / 1.151 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