Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.45/2.45, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.00172/0.00172, allocations: 178.8 kB / 0.4902 GB, free: 2.262 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.519/1.519, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.0009959/0.0009959, allocations: 102.5 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 10.59 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.331, allocations: 389.9 MB / 1.61 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.332, allocations: 72.89 kB / 1.61 GB, free: 6.922 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.02851/1.36, allocations: 13.32 MB / 1.623 GB, free: 12.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.375e-06/1.36, allocations: 4 kB / 1.623 GB, free: 12.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.36, allocations: 0 / 1.623 GB, free: 12.43 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003399/1.361, allocations: 335 kB / 1.623 GB, free: 12.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.361, allocations: 8.031 kB / 1.623 GB, free: 12.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/1.361, allocations: 7.953 kB / 1.623 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/1.361, allocations: 163 kB / 1.624 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/1.361, allocations: 25.7 kB / 1.624 GB, free: 11.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/1.361, allocations: 4 kB / 1.624 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/1.361, allocations: 45.5 kB / 1.624 GB, free: 11.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.361, allocations: 0 / 1.624 GB, free: 11.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.361, allocations: 7.875 kB / 1.624 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/1.361, allocations: 3.984 kB / 1.624 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/1.361, allocations: 15.77 kB / 1.624 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/1.362, allocations: 333.5 kB / 1.624 GB, free: 11.35 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/1.362, allocations: 22.52 kB / 1.624 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-05/1.362, allocations: 93.14 kB / 1.624 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/1.362, allocations: 30.56 kB / 1.624 GB, free: 11.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/1.362, allocations: 7.938 kB / 1.624 GB, free: 11.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001462/1.362, allocations: 37.47 kB / 1.624 GB, free: 11.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/1.362, allocations: 51.41 kB / 1.624 GB, free: 11.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/1.362, allocations: 96.98 kB / 1.624 GB, free: 10.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/1.362, allocations: 25.7 kB / 1.624 GB, free: 10.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/1.362, allocations: 91.86 kB / 1.624 GB, free: 10.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/1.362, allocations: 0 / 1.624 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/1.362, allocations: 0 / 1.624 GB, free: 10.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.362, allocations: 310.8 kB / 1.625 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/1.362, allocations: 11.67 kB / 1.625 GB, free: 10.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/1.362, allocations: 13.72 kB / 1.625 GB, free: 10.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/1.362, allocations: 7.938 kB / 1.625 GB, free: 10.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.362, allocations: 4 kB / 1.625 GB, free: 10.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.217e-05/1.363, allocations: 45.19 kB / 1.625 GB, free: 10.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.363, allocations: 8 kB / 1.625 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.363, allocations: 0 / 1.625 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.363, allocations: 0 / 1.625 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/1.363, allocations: 7.938 kB / 1.625 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.363, allocations: 7.938 kB / 1.625 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/1.363, allocations: 7.906 kB / 1.625 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/1.363, allocations: 3.5 kB / 1.625 GB, free: 10.41 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.573e-05/1.363, allocations: 114.7 kB / 1.625 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/1.363, allocations: 0 / 1.625 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/1.363, allocations: 120 kB / 1.625 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.944e-05/1.363, allocations: 180.2 kB / 1.625 GB, free: 9.977 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-05/1.363, allocations: 176.3 kB / 1.625 GB, free: 9.797 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/1.363, allocations: 192.2 kB / 1.626 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/1.363, allocations: 401 kB / 1.626 GB, free: 9.156 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-05/1.363, allocations: 105 kB / 1.626 GB, free: 9.047 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/1.363, allocations: 104.9 kB / 1.626 GB, free: 8.938 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.883e-05/1.363, allocations: 180.2 kB / 1.626 GB, free: 8.754 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/1.364, allocations: 183.3 kB / 1.626 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.057e-05/1.364, allocations: 184.3 kB / 1.627 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-05/1.364, allocations: 180.2 kB / 1.627 GB, free: 8.199 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/1.364, allocations: 315.7 kB / 1.627 GB, free: 7.871 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/1.364, allocations: 189.9 kB / 1.627 GB, free: 7.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/1.364, allocations: 184.3 kB / 1.627 GB, free: 7.473 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/1.364, allocations: 109 kB / 1.628 GB, free: 7.359 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/1.364, allocations: 184 kB / 1.628 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/1.364, allocations: 101 kB / 1.628 GB, free: 7.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.977e-05/1.364, allocations: 83.27 kB / 1.628 GB, free: 6.988 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.364, allocations: 0 / 1.628 GB, free: 6.988 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002546/1.365, allocations: 19.38 kB / 1.628 GB, free: 6.973 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002346/1.365, allocations: 211.6 kB / 1.628 GB, free: 6.758 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/1.365, allocations: 12 kB / 1.628 GB, free: 6.746 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.365, allocations: 0 / 1.628 GB, free: 6.746 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/1.365, allocations: 7.562 kB / 1.628 GB, free: 6.742 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/1.365, allocations: 0.5193 MB / 1.629 GB, free: 6.219 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/1.366, allocations: 200 kB / 1.629 GB, free: 5.996 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/1.366, allocations: 0.677 MB / 1.63 GB, free: 5.293 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.687e-05/1.366, allocations: 4 kB / 1.63 GB, free: 5.289 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/1.366, allocations: 7.438 kB / 1.63 GB, free: 5.281 MB / 0.948 GB Notification: Performance of SimCode: time 4e-07/1.366, allocations: 0 / 1.63 GB, free: 5.281 MB / 0.948 GB Notification: Performance of Templates: time 0.0029/1.369, allocations: 0.8239 MB / 1.63 GB, free: 4.469 MB / 0.948 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches