Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0009498/0.0009501, allocations: 98.27 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.008124/0.008124, allocations: 169.8 kB / 16.27 MB, free: 6.348 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7145, allocations: 142.4 MB / 0.955 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1576/0.8722, allocations: 143.7 MB / 1.095 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001241/0.8723, allocations: 51.86 kB / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.8724, allocations: 0 / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.8725, allocations: 0 / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.002e-05/0.8726, allocations: 15.91 kB / 1.095 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.873, allocations: 103.7 kB / 1.096 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.92e-05/0.8731, allocations: 59.77 kB / 1.096 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.8731, allocations: 0 / 1.096 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.151e-05/0.8732, allocations: 19.97 kB / 1.096 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.8733, allocations: 8 kB / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.8733, allocations: 4 kB / 1.096 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.8735, allocations: 83.7 kB / 1.096 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.8736, allocations: 11.94 kB / 1.096 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.8736, allocations: 37.69 kB / 1.096 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.8738, allocations: 69.81 kB / 1.096 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8738, allocations: 4 kB / 1.096 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8738, allocations: 0 / 1.096 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.8738, allocations: 0 / 1.096 GB, free: 14.63 MB / 0.8575 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.0003687/0.8742, allocations: 331.5 kB / 1.096 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.8742, allocations: 8.031 kB / 1.096 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.8744, allocations: 20.92 kB / 1.096 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.8746, allocations: 172.3 kB / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.8747, allocations: 29.64 kB / 1.096 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.8747, allocations: 0 / 1.096 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.8748, allocations: 45.69 kB / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8748, allocations: 0 / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.8748, allocations: 0 / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.8749, allocations: 7.984 kB / 1.096 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.8749, allocations: 19.98 kB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.8753, allocations: 260.7 kB / 1.097 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.8754, allocations: 18.58 kB / 1.097 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.8754, allocations: 8.859 kB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.8754, allocations: 48 / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.8754, allocations: 38.55 kB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 3.837e-06/0.8754, allocations: 4.062 kB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.8756, allocations: 37.58 kB / 1.097 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.8756, allocations: 55.34 kB / 1.097 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.8757, allocations: 109.8 kB / 1.097 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.8757, allocations: 25.7 kB / 1.097 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.8758, allocations: 99.97 kB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.8758, allocations: 3.906 kB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.8759, allocations: 13.84 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.876, allocations: 314.8 kB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.876, allocations: 8 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.876, allocations: 18.58 kB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.8761, allocations: 38.5 kB / 1.097 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8761, allocations: 0 / 1.097 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.891e-05/0.8762, allocations: 49.64 kB / 1.098 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8762, allocations: 11.98 kB / 1.098 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8762, allocations: 0 / 1.098 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.8762, allocations: 96 / 1.098 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.8763, allocations: 11.98 kB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.8763, allocations: 3.938 kB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.8763, allocations: 0 / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.8764, allocations: 8.094 kB / 1.098 GB, free: 12.65 MB / 0.8575 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.105e-05/0.8764, allocations: 109.8 kB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.8765, allocations: 4 kB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.8765, allocations: 7.109 kB / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.8765, allocations: 0 / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8765, allocations: 3.938 kB / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.8765, allocations: 3.938 kB / 1.098 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.8768, allocations: 346.7 kB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.8768, allocations: 4 kB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.8768, allocations: 256 / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8768, allocations: 3.938 kB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.8768, allocations: 4 kB / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8768, allocations: 0 / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8769, allocations: 0 / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.712e-05/0.8769, allocations: 65.06 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.877, allocations: 85.11 kB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.877, allocations: 7.938 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.8771, allocations: 3.984 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-06/0.8771, allocations: 0 / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.8771, allocations: 4 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.8772, allocations: 83.28 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8772, allocations: 0 / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001964/0.8774, allocations: 8 kB / 1.098 GB, free: 11.81 MB / 0.8575 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.0001028/0.8775, allocations: 99.25 kB / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.098e-05/0.8776, allocations: 19.92 kB / 1.098 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8776, allocations: 3.938 kB / 1.098 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.8776, allocations: 4 kB / 1.098 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.8778, allocations: 9.109 kB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.8781, allocations: 124.8 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.8783, allocations: 0.677 MB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.533e-05/0.8784, allocations: 4 kB / 1.099 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.8784, allocations: 7.438 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.8784, allocations: 0 / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.002645/0.8811, allocations: 490.6 kB / 1.1 GB, free: 10.34 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches