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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001211/0.001211, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 181.6 kB / 16.92 MB, free: 6.891 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 11.78 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3136, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1571/0.4708, allocations: 143.7 MB / 1.2 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.4709, allocations: 55.86 kB / 1.2 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.471, allocations: 0 / 1.2 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.514e-05/0.4711, allocations: 3.938 kB / 1.2 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.4712, allocations: 15.97 kB / 1.2 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.4716, allocations: 103.7 kB / 1.2 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.4717, allocations: 51.89 kB / 1.2 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.4718, allocations: 3.984 kB / 1.2 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.4718, allocations: 15.94 kB / 1.2 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.4719, allocations: 15.92 kB / 1.2 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.4719, allocations: 4 kB / 1.2 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.4722, allocations: 75.78 kB / 1.2 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.4723, allocations: 11.98 kB / 1.2 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.4723, allocations: 41.62 kB / 1.2 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.4725, allocations: 48.17 kB / 1.2 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4725, allocations: 0 / 1.2 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4725, allocations: 0 / 1.2 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.4725, allocations: 0 / 1.2 GB, free: 4.266 MB / 0.9512 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.000359/0.4729, allocations: 327.5 kB / 1.2 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.4729, allocations: 11.97 kB / 1.2 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.4732, allocations: 24.91 kB / 1.2 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.4733, allocations: 164.4 kB / 1.201 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.4734, allocations: 37.62 kB / 1.201 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.4734, allocations: 0 / 1.201 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4735, allocations: 49.67 kB / 1.201 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4736, allocations: 3.984 kB / 1.201 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4736, allocations: 0 / 1.201 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.4736, allocations: 4 kB / 1.201 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.4737, allocations: 19.92 kB / 1.201 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.4741, allocations: 264.8 kB / 1.201 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.213e-05/0.4741, allocations: 26.56 kB / 1.201 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.4741, allocations: 4.859 kB / 1.201 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.4742, allocations: 3.938 kB / 1.201 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4742, allocations: 38.62 kB / 1.201 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4742, allocations: 0 / 1.201 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.4743, allocations: 33.64 kB / 1.201 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.4744, allocations: 55.34 kB / 1.201 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.4745, allocations: 109.8 kB / 1.201 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4745, allocations: 25.7 kB / 1.201 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.4746, allocations: 92.05 kB / 1.201 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.4746, allocations: 3.906 kB / 1.201 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.4746, allocations: 17.83 kB / 1.201 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4747, allocations: 314.8 kB / 1.202 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.4747, allocations: 4 kB / 1.202 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.4748, allocations: 22.56 kB / 1.202 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.382e-05/0.4748, allocations: 30.52 kB / 1.202 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4748, allocations: 8 kB / 1.202 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.792e-05/0.4749, allocations: 53.62 kB / 1.202 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.475, allocations: 4 kB / 1.202 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.475, allocations: 0 / 1.202 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.475, allocations: 0 / 1.202 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.475, allocations: 8 kB / 1.202 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4751, allocations: 3.938 kB / 1.202 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.4751, allocations: 4 kB / 1.202 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4751, allocations: 4 kB / 1.202 GB, free: 2.281 MB / 0.9512 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 8.019e-05/0.4752, allocations: 121.8 kB / 1.202 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.4752, allocations: 7.891 kB / 1.202 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.4753, allocations: 3.125 kB / 1.202 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4753, allocations: 0 / 1.202 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4753, allocations: 3.938 kB / 1.202 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4753, allocations: 0 / 1.202 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.4755, allocations: 346.8 kB / 1.202 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4756, allocations: 4.031 kB / 1.202 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.4756, allocations: 0 / 1.202 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.4756, allocations: 7.922 kB / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.4756, allocations: 0 / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4756, allocations: 0 / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4756, allocations: 0 / 1.202 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.311e-05/0.4757, allocations: 57.08 kB / 1.202 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.4757, allocations: 81.05 kB / 1.202 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4757, allocations: 8.281 kB / 1.202 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.4758, allocations: 11.98 kB / 1.202 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.4759, allocations: 4 kB / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.4759, allocations: 4.031 kB / 1.202 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.4759, allocations: 83.22 kB / 1.202 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4759, allocations: 0 / 1.202 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001941/0.4761, allocations: 8 kB / 1.203 GB, free: 1.441 MB / 0.9512 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.0001009/0.4762, allocations: 103.2 kB / 1.203 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.4763, allocations: 15.94 kB / 1.203 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4763, allocations: 0 / 1.203 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.232e-06/0.4763, allocations: 4 kB / 1.203 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.4765, allocations: 3.984 kB / 1.203 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.4768, allocations: 157.2 kB / 1.203 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.4771, allocations: 0.6848 MB / 1.203 GB, free: 420 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.4771, allocations: 7.438 kB / 1.203 GB, free: 412 kB / 0.9512 GB Notification: Performance of SimCode: time 4.7e-07/0.4771, allocations: 0 / 1.203 GB, free: 412 kB / 0.9512 GB Notification: Performance of Templates: time 0.001886/0.479, allocations: 0.5491 MB / 1.204 GB, free: 15.86 MB / 0.9669 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