Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001143/0.001143, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001131/0.001131, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 68.11 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8132/0.8147, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1559/0.9706, allocations: 147.8 MB / 1.353 GB, free: 9.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000143/0.9708, allocations: 55.86 kB / 1.353 GB, free: 9.125 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.9709, allocations: 4 kB / 1.353 GB, free: 9.121 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.288e-05/0.971, allocations: 0 / 1.353 GB, free: 9.121 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.9711, allocations: 11.91 kB / 1.353 GB, free: 9.109 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.9716, allocations: 107.6 kB / 1.353 GB, free: 9.004 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.184e-05/0.9717, allocations: 35.86 kB / 1.353 GB, free: 8.969 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.9717, allocations: 3.984 kB / 1.353 GB, free: 8.965 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.9718, allocations: 23.92 kB / 1.353 GB, free: 8.941 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.9719, allocations: 8 kB / 1.353 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.9719, allocations: 0 / 1.353 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.9722, allocations: 83.7 kB / 1.353 GB, free: 8.852 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.9722, allocations: 11.94 kB / 1.353 GB, free: 8.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.9723, allocations: 11.97 kB / 1.353 GB, free: 8.828 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.9724, allocations: 71.86 kB / 1.353 GB, free: 8.758 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9725, allocations: 0 / 1.353 GB, free: 8.758 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9725, allocations: 0 / 1.353 GB, free: 8.758 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.9725, allocations: 0 / 1.353 GB, free: 8.758 MB / 1.076 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.0003936/0.9729, allocations: 343.4 kB / 1.354 GB, free: 8.379 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.9729, allocations: 8.031 kB / 1.354 GB, free: 8.371 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.9732, allocations: 20.83 kB / 1.354 GB, free: 8.352 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.9733, allocations: 160.4 kB / 1.354 GB, free: 8.156 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.9734, allocations: 33.58 kB / 1.354 GB, free: 8.117 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.9734, allocations: 7.938 kB / 1.354 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.9735, allocations: 53.66 kB / 1.354 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.9735, allocations: 0 / 1.354 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9735, allocations: 7.984 kB / 1.354 GB, free: 8.043 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.9736, allocations: 0 / 1.354 GB, free: 8.043 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.9736, allocations: 19.98 kB / 1.354 GB, free: 8.023 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.974, allocations: 258.7 kB / 1.354 GB, free: 7.723 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.502e-05/0.9741, allocations: 22.52 kB / 1.354 GB, free: 7.691 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.9741, allocations: 8.922 kB / 1.354 GB, free: 7.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.9741, allocations: 3.938 kB / 1.354 GB, free: 7.676 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.9742, allocations: 30.56 kB / 1.354 GB, free: 7.637 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.9742, allocations: 0 / 1.354 GB, free: 7.637 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.9743, allocations: 33.7 kB / 1.354 GB, free: 7.598 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.9744, allocations: 59.34 kB / 1.354 GB, free: 7.527 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.9744, allocations: 117.8 kB / 1.354 GB, free: 7.402 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.9745, allocations: 25.7 kB / 1.354 GB, free: 7.371 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.9745, allocations: 91.97 kB / 1.354 GB, free: 7.277 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.9745, allocations: 4 kB / 1.354 GB, free: 7.273 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.9746, allocations: 13.72 kB / 1.354 GB, free: 7.254 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.9747, allocations: 310.8 kB / 1.355 GB, free: 6.941 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.9747, allocations: 8 kB / 1.355 GB, free: 6.934 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.9747, allocations: 26.56 kB / 1.355 GB, free: 6.898 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/0.9748, allocations: 30.52 kB / 1.355 GB, free: 6.859 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9748, allocations: 4 kB / 1.355 GB, free: 6.855 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.346e-05/0.9749, allocations: 57.53 kB / 1.355 GB, free: 6.793 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.9749, allocations: 4 kB / 1.355 GB, free: 6.789 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9749, allocations: 4.094 kB / 1.355 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.9749, allocations: 0 / 1.355 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.975, allocations: 8 kB / 1.355 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.975, allocations: 3.938 kB / 1.355 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.975, allocations: 4 kB / 1.355 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.9751, allocations: 3.984 kB / 1.355 GB, free: 6.766 MB / 1.076 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 7.165e-05/0.9751, allocations: 113.8 kB / 1.355 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.9752, allocations: 0 / 1.355 GB, free: 6.645 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.733e-05/0.9752, allocations: 3.125 kB / 1.355 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.9752, allocations: 4 kB / 1.355 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.9752, allocations: 3.938 kB / 1.355 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9752, allocations: 4 kB / 1.355 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.9755, allocations: 347 kB / 1.355 GB, free: 6.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.9755, allocations: 4 kB / 1.355 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.9755, allocations: 0 / 1.355 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.9755, allocations: 3.938 kB / 1.355 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.9755, allocations: 3.938 kB / 1.355 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.9755, allocations: 4.031 kB / 1.355 GB, free: 6.215 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9755, allocations: 7.938 kB / 1.355 GB, free: 6.207 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.317e-05/0.9756, allocations: 57.05 kB / 1.355 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.9757, allocations: 88.97 kB / 1.356 GB, free: 6.027 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.9757, allocations: 4 kB / 1.356 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.9758, allocations: 0 / 1.356 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.9758, allocations: 0 / 1.356 GB, free: 6.023 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9758, allocations: 8.031 kB / 1.356 GB, free: 6.016 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.9759, allocations: 87.27 kB / 1.356 GB, free: 5.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9759, allocations: 0 / 1.356 GB, free: 5.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000206/0.9761, allocations: 4 kB / 1.356 GB, free: 5.926 MB / 1.076 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 9.601e-05/0.9762, allocations: 99.25 kB / 1.356 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.207e-05/0.9763, allocations: 12 kB / 1.356 GB, free: 5.809 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9763, allocations: 0 / 1.356 GB, free: 5.809 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.9763, allocations: 12.12 kB / 1.356 GB, free: 5.797 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.9765, allocations: 3.984 kB / 1.356 GB, free: 5.793 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.9768, allocations: 140.4 kB / 1.356 GB, free: 5.621 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.977, allocations: 0.6729 MB / 1.357 GB, free: 4.922 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.9771, allocations: 7.438 kB / 1.357 GB, free: 4.918 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/0.9771, allocations: 0 / 1.357 GB, free: 4.918 MB / 1.076 GB Notification: Performance of Templates: time 0.001811/0.9789, allocations: 0.5757 MB / 1.357 GB, free: 4.348 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches