Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.224/2.224, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.00107/0.00107, allocations: 169 kB / 492.3 MB, free: 0.6211 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.412/1.412, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008547/0.0008547, allocations: 87.91 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.927e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.238, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.887/4.125, allocations: 1.711 GB / 2.924 GB, free: 128.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/4.125, allocations: 67.84 kB / 2.924 GB, free: 128.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.06852/4.194, allocations: 37.33 MB / 2.96 GB, free: 96.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.332e-06/4.194, allocations: 4 kB / 2.96 GB, free: 96.97 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.194e-06/4.194, allocations: 0 / 2.96 GB, free: 96.97 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.0002652/4.194, allocations: 346.4 kB / 2.96 GB, free: 96.59 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/4.194, allocations: 8.031 kB / 2.96 GB, free: 96.58 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/4.194, allocations: 34.56 kB / 2.961 GB, free: 96.54 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/4.194, allocations: 20.75 kB / 2.961 GB, free: 96.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.057e-05/4.194, allocations: 167 kB / 2.961 GB, free: 96.31 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/4.194, allocations: 29.7 kB / 2.961 GB, free: 96.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/4.194, allocations: 0 / 2.961 GB, free: 96.28 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/4.195, allocations: 49.62 kB / 2.961 GB, free: 96.22 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/4.195, allocations: 0 / 2.961 GB, free: 96.22 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/4.195, allocations: 7.938 kB / 2.961 GB, free: 96.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/4.195, allocations: 7.984 kB / 2.961 GB, free: 96.21 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/4.195, allocations: 16 kB / 2.961 GB, free: 96.19 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/4.195, allocations: 260.9 kB / 2.961 GB, free: 95.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 4.393e-05/4.195, allocations: 26.52 kB / 2.961 GB, free: 95.85 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/4.195, allocations: 12.75 kB / 2.961 GB, free: 95.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/4.195, allocations: 97.16 kB / 2.961 GB, free: 95.72 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/4.195, allocations: 30.56 kB / 2.961 GB, free: 95.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/4.195, allocations: 0 / 2.961 GB, free: 95.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/4.195, allocations: 45.69 kB / 2.961 GB, free: 95.63 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/4.195, allocations: 51.41 kB / 2.961 GB, free: 95.57 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.318e-05/4.196, allocations: 101 kB / 2.961 GB, free: 95.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/4.196, allocations: 25.7 kB / 2.961 GB, free: 95.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/4.196, allocations: 88.03 kB / 2.961 GB, free: 95.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/4.196, allocations: 7.906 kB / 2.961 GB, free: 95.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/4.196, allocations: 4 kB / 2.962 GB, free: 95.33 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/4.196, allocations: 318.9 kB / 2.962 GB, free: 95.01 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/4.196, allocations: 4 kB / 2.962 GB, free: 95.01 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/4.196, allocations: 26.52 kB / 2.962 GB, free: 94.97 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/4.196, allocations: 4 kB / 2.962 GB, free: 94.97 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/4.196, allocations: 0 / 2.962 GB, free: 94.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.818e-05/4.196, allocations: 57.62 kB / 2.962 GB, free: 94.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/4.196, allocations: 11.95 kB / 2.962 GB, free: 94.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/4.196, allocations: 0 / 2.962 GB, free: 94.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/4.196, allocations: 0 / 2.962 GB, free: 94.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/4.196, allocations: 11.98 kB / 2.962 GB, free: 94.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/4.196, allocations: 0 / 2.962 GB, free: 94.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/4.196, allocations: 3.938 kB / 2.962 GB, free: 94.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/4.196, allocations: 4 kB / 2.962 GB, free: 94.88 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 4.607e-05/4.196, allocations: 106.2 kB / 2.962 GB, free: 94.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/4.196, allocations: 12 kB / 2.962 GB, free: 94.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/4.196, allocations: 7.078 kB / 2.962 GB, free: 94.75 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/4.196, allocations: 3.938 kB / 2.962 GB, free: 94.75 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/4.196, allocations: 4 kB / 2.962 GB, free: 94.74 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/4.196, allocations: 0 / 2.962 GB, free: 94.74 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/4.196, allocations: 359.6 kB / 2.962 GB, free: 94.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/4.196, allocations: 4 kB / 2.962 GB, free: 94.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/4.196, allocations: 11.94 kB / 2.962 GB, free: 94.31 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/4.196, allocations: 4 kB / 2.962 GB, free: 94.31 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/4.196, allocations: 0 / 2.962 GB, free: 94.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/4.196, allocations: 7.922 kB / 2.962 GB, free: 94.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/4.196, allocations: 0 / 2.962 GB, free: 94.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.307e-05/4.196, allocations: 83.66 kB / 2.963 GB, free: 94.19 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/4.196, allocations: 81.14 kB / 2.963 GB, free: 94.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/4.196, allocations: 4 kB / 2.963 GB, free: 94.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/4.197, allocations: 7.984 kB / 2.963 GB, free: 94.08 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/4.197, allocations: 4 kB / 2.963 GB, free: 94.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/4.197, allocations: 0 / 2.963 GB, free: 94.08 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.28e-05/4.197, allocations: 83.55 kB / 2.963 GB, free: 94 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/4.197, allocations: 3.938 kB / 2.963 GB, free: 93.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002786/4.197, allocations: 39.98 kB / 2.963 GB, free: 93.95 MB / 1.151 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.0007102/4.198, allocations: 1.135 MB / 2.964 GB, free: 92.79 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.93e-05/4.198, allocations: 19.94 kB / 2.964 GB, free: 92.77 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/4.198, allocations: 0 / 2.964 GB, free: 92.77 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-06/4.198, allocations: 8.188 kB / 2.964 GB, free: 92.76 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/4.198, allocations: 9.531 kB / 2.964 GB, free: 92.75 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/4.198, allocations: 104.6 kB / 2.964 GB, free: 92.61 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/4.198, allocations: 0.677 MB / 2.965 GB, free: 91.91 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.761e-05/4.198, allocations: 8.125 kB / 2.965 GB, free: 91.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/4.198, allocations: 7.438 kB / 2.965 GB, free: 91.89 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/4.198, allocations: 0 / 2.965 GB, free: 91.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/4.218, allocations: 11.96 MB / 2.976 GB, free: 80.04 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/4.218, allocations: 155.6 kB / 2.976 GB, free: 79.81 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/6.209, allocations: 1.5 kB / 2.976 GB, free: 79.81 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat