Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001581/0.001581, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.84 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8256/0.827, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1477/0.9747, allocations: 147.8 MB / 1.312 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001395/0.9749, allocations: 59.75 kB / 1.312 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.975, allocations: 4 kB / 1.312 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.9751, allocations: 3.984 kB / 1.312 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.9752, allocations: 15.92 kB / 1.312 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.9757, allocations: 107.6 kB / 1.312 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.346e-05/0.9758, allocations: 27.92 kB / 1.312 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.9759, allocations: 7.969 kB / 1.312 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.9759, allocations: 12 kB / 1.312 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.976, allocations: 19.86 kB / 1.312 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.976, allocations: 3.984 kB / 1.312 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.9763, allocations: 83.8 kB / 1.312 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.9763, allocations: 11.97 kB / 1.312 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.9764, allocations: 7.938 kB / 1.312 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.9765, allocations: 79.78 kB / 1.312 GB, free: 15 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.9765, allocations: 0 / 1.312 GB, free: 15 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9765, allocations: 0 / 1.312 GB, free: 15 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9766, allocations: 0 / 1.312 GB, free: 15 MB / 1.045 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.000375/0.9769, allocations: 335.4 kB / 1.312 GB, free: 14.63 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.977, allocations: 8.031 kB / 1.312 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.9772, allocations: 20.83 kB / 1.312 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.9774, allocations: 168.4 kB / 1.313 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/0.9774, allocations: 29.64 kB / 1.313 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.9774, allocations: 3.984 kB / 1.313 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.9776, allocations: 45.69 kB / 1.313 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.9776, allocations: 11.88 kB / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.9776, allocations: 0 / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.9777, allocations: 4 kB / 1.313 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.9777, allocations: 15.98 kB / 1.313 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.9781, allocations: 258.7 kB / 1.313 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.052e-05/0.9782, allocations: 22.58 kB / 1.313 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.9782, allocations: 4.859 kB / 1.313 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-06/0.9782, allocations: 0 / 1.313 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.9782, allocations: 42.5 kB / 1.313 GB, free: 13.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.9782, allocations: 4.062 kB / 1.313 GB, free: 13.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001607/0.9784, allocations: 33.69 kB / 1.313 GB, free: 13.85 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.9784, allocations: 55.34 kB / 1.313 GB, free: 13.78 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.9785, allocations: 109.9 kB / 1.313 GB, free: 13.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.9786, allocations: 29.7 kB / 1.313 GB, free: 13.63 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.9786, allocations: 91.98 kB / 1.313 GB, free: 13.54 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.9786, allocations: 4 kB / 1.313 GB, free: 13.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.9787, allocations: 13.72 kB / 1.313 GB, free: 13.51 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9788, allocations: 318.8 kB / 1.314 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.9788, allocations: 4 kB / 1.314 GB, free: 13.19 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.9788, allocations: 22.52 kB / 1.314 GB, free: 13.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.9789, allocations: 34.56 kB / 1.314 GB, free: 13.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9789, allocations: 0 / 1.314 GB, free: 13.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.857e-05/0.979, allocations: 53.55 kB / 1.314 GB, free: 13.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.979, allocations: 7.984 kB / 1.314 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.979, allocations: 4 kB / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.979, allocations: 4.094 kB / 1.314 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.9791, allocations: 7.938 kB / 1.314 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9791, allocations: 7.938 kB / 1.314 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.9792, allocations: 4 kB / 1.314 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.9792, allocations: 4 kB / 1.314 GB, free: 13.02 MB / 1.045 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 6.89e-05/0.9793, allocations: 105.8 kB / 1.314 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.9793, allocations: 7.938 kB / 1.314 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.9793, allocations: 7.203 kB / 1.314 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.9793, allocations: 3.984 kB / 1.314 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9794, allocations: 11.88 kB / 1.314 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.9794, allocations: 0 / 1.314 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.9796, allocations: 346.7 kB / 1.314 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9796, allocations: 0 / 1.314 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.661e-05/0.9796, allocations: 4 kB / 1.314 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9797, allocations: 3.938 kB / 1.314 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.9797, allocations: 0 / 1.314 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9797, allocations: 0 / 1.314 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9797, allocations: 0 / 1.314 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.899e-05/0.9797, allocations: 65.06 kB / 1.314 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.9798, allocations: 81.05 kB / 1.314 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.9798, allocations: 256 / 1.314 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.9799, allocations: 15.98 kB / 1.314 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.9799, allocations: 0 / 1.314 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.9799, allocations: 0 / 1.314 GB, free: 12.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.98, allocations: 83.31 kB / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 2e-07/0.98, allocations: 0 / 1.315 GB, free: 12.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001977/0.9802, allocations: 8 kB / 1.315 GB, free: 12.18 MB / 1.045 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 (1): * Single equations (assignments): 1 * 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.0001/0.9803, allocations: 99.19 kB / 1.315 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.9804, allocations: 19.98 kB / 1.315 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9804, allocations: 0 / 1.315 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-06/0.9804, allocations: 0 / 1.315 GB, free: 12.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.9806, allocations: 9.375 kB / 1.315 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.9809, allocations: 140.3 kB / 1.315 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.9812, allocations: 0.6768 MB / 1.315 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.9812, allocations: 7.438 kB / 1.315 GB, free: 11.16 MB / 1.045 GB Notification: Performance of SimCode: time 2.11e-07/0.9813, allocations: 0 / 1.315 GB, free: 11.16 MB / 1.045 GB Notification: Performance of Templates: time 0.001979/0.9832, allocations: 0.5696 MB / 1.316 GB, free: 10.6 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches