Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009434/0.0009434, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005907/0.005906, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.193/3.193, allocations: 470.6 MB / 0.7442 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003957, allocations: 9.469 kB / 0.9122 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3956, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1884/0.584, allocations: 144.1 MB / 1.211 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001131/0.5842, allocations: 47.73 kB / 1.211 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.5842, allocations: 0 / 1.211 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.5843, allocations: 7.938 kB / 1.211 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.087e-05/0.5844, allocations: 11.91 kB / 1.211 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.5851, allocations: 208.6 kB / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.5852, allocations: 51.88 kB / 1.211 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.5852, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.5853, allocations: 23.92 kB / 1.211 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.5853, allocations: 15.91 kB / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.5854, allocations: 4 kB / 1.211 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000451/0.5858, allocations: 231.3 kB / 1.211 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.5859, allocations: 11.98 kB / 1.211 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.5859, allocations: 37.62 kB / 1.211 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.5862, allocations: 127.9 kB / 1.211 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5862, allocations: 4 kB / 1.211 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5862, allocations: 0 / 1.211 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.5862, allocations: 0 / 1.211 GB, free: 9.926 MB / 0.9669 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.0004052/0.5866, allocations: 323.6 kB / 1.212 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5867, allocations: 12.03 kB / 1.212 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.587, allocations: 28.91 kB / 1.212 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.5871, allocations: 176.2 kB / 1.212 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.5872, allocations: 29.64 kB / 1.212 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.5872, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.5874, allocations: 45.69 kB / 1.212 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5874, allocations: 0 / 1.212 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.5874, allocations: 7.938 kB / 1.212 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.5874, allocations: 7.984 kB / 1.212 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.5875, allocations: 19.98 kB / 1.212 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.5879, allocations: 252.9 kB / 1.212 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.686e-05/0.588, allocations: 26.56 kB / 1.212 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.588, allocations: 12.92 kB / 1.212 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.5882, allocations: 97.09 kB / 1.212 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.5882, allocations: 34.5 kB / 1.212 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5883, allocations: 0 / 1.212 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.5885, allocations: 49.69 kB / 1.212 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.5885, allocations: 51.41 kB / 1.213 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.5886, allocations: 105.8 kB / 1.213 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.5887, allocations: 29.83 kB / 1.213 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.5887, allocations: 91.98 kB / 1.213 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.5888, allocations: 7.906 kB / 1.213 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.5888, allocations: 9.719 kB / 1.213 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.589, allocations: 314.8 kB / 1.213 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.589, allocations: 3.984 kB / 1.213 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.589, allocations: 30.52 kB / 1.213 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.5891, allocations: 30.58 kB / 1.213 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5891, allocations: 3.938 kB / 1.213 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.132e-05/0.5892, allocations: 53.62 kB / 1.213 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5892, allocations: 5.562 kB / 1.213 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.5892, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.5893, allocations: 8 kB / 1.213 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.5893, allocations: 16.02 kB / 1.213 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5893, allocations: 3.938 kB / 1.213 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.5894, allocations: 7.938 kB / 1.213 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.5894, allocations: 0 / 1.213 GB, free: 7.805 MB / 0.9669 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.918e-05/0.5895, allocations: 113.8 kB / 1.213 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.5895, allocations: 3.906 kB / 1.213 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.5895, allocations: 3.125 kB / 1.213 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5896, allocations: 4 kB / 1.213 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5896, allocations: 3.938 kB / 1.213 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5896, allocations: 4.281 kB / 1.213 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.5899, allocations: 359.6 kB / 1.214 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5899, allocations: 0 / 1.214 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.59, allocations: 4 kB / 1.214 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.59, allocations: 3.938 kB / 1.214 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.59, allocations: 3.984 kB / 1.214 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.59, allocations: 7.984 kB / 1.214 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.59, allocations: 64 / 1.214 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.696e-05/0.5901, allocations: 69.94 kB / 1.214 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.5902, allocations: 85.05 kB / 1.214 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.5902, allocations: 4 kB / 1.214 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.5903, allocations: 7.984 kB / 1.214 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.5903, allocations: 0 / 1.214 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.5903, allocations: 4.031 kB / 1.214 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.5904, allocations: 79.28 kB / 1.214 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5904, allocations: 3.938 kB / 1.214 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002032/0.5906, allocations: 8 kB / 1.214 GB, free: 6.938 MB / 0.9669 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.5907, allocations: 107.2 kB / 1.214 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.287e-05/0.5908, allocations: 12.06 kB / 1.214 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5908, allocations: 4.062 kB / 1.214 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.5908, allocations: 4 kB / 1.214 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.5911, allocations: 17.12 kB / 1.214 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.5914, allocations: 133.3 kB / 1.214 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.5918, allocations: 0.6811 MB / 1.215 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.661e-05/0.5919, allocations: 4 kB / 1.215 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.5919, allocations: 7.438 kB / 1.215 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.5919, allocations: 0 / 1.215 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of Templates: time 0.003471/0.5954, allocations: 0.5566 MB / 1.215 GB, free: 5.352 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches