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.005841/0.005841, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.001555/0.001555, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.4/1.4, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.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.273/2.273, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.916/0.9173, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2043/1.122, allocations: 147.8 MB / 1.232 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001368/1.122, allocations: 56.42 kB / 1.232 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/1.122, allocations: 0 / 1.232 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/1.122, allocations: 7.922 kB / 1.232 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/1.122, allocations: 14.55 kB / 1.232 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/1.123, allocations: 103.3 kB / 1.232 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/1.123, allocations: 37.84 kB / 1.233 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/1.123, allocations: 5.438 kB / 1.233 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/1.123, allocations: 16.89 kB / 1.233 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/1.123, allocations: 14 kB / 1.233 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/1.123, allocations: 5 kB / 1.233 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/1.123, allocations: 80.67 kB / 1.233 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/1.123, allocations: 7.234 kB / 1.233 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/1.123, allocations: 17.55 kB / 1.233 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/1.123, allocations: 66.05 kB / 1.233 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.123, allocations: 0 / 1.233 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/1.123, allocations: 1.156 kB / 1.233 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.02e-06/1.123, allocations: 0 / 1.233 GB, free: 6.309 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.0004011/1.124, allocations: 344.5 kB / 1.233 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/1.124, allocations: 9.125 kB / 1.233 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/1.124, allocations: 17.2 kB / 1.233 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.124, allocations: 169.5 kB / 1.233 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/1.124, allocations: 38.78 kB / 1.233 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/1.124, allocations: 1 kB / 1.233 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.125, allocations: 51.8 kB / 1.233 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/1.125, allocations: 0.9688 kB / 1.233 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.125, allocations: 0 / 1.233 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/1.125, allocations: 6.062 kB / 1.233 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.422e-05/1.125, allocations: 18.7 kB / 1.233 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/1.125, allocations: 259.3 kB / 1.234 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.556e-05/1.125, allocations: 19.73 kB / 1.234 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/1.125, allocations: 6.078 kB / 1.234 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/1.125, allocations: 1.219 kB / 1.234 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/1.125, allocations: 35.56 kB / 1.234 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.125, allocations: 0 / 1.234 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001183/1.125, allocations: 35.44 kB / 1.234 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/1.125, allocations: 55.47 kB / 1.234 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/1.125, allocations: 109.9 kB / 1.234 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/1.125, allocations: 25.7 kB / 1.234 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/1.125, allocations: 97.88 kB / 1.234 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/1.125, allocations: 1.125 kB / 1.234 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/1.126, allocations: 17.12 kB / 1.234 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.126, allocations: 312 kB / 1.234 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/1.126, allocations: 7.266 kB / 1.234 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/1.126, allocations: 31.08 kB / 1.234 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.148e-05/1.126, allocations: 30.36 kB / 1.234 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.126, allocations: 1.188 kB / 1.234 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.86e-05/1.126, allocations: 53.22 kB / 1.234 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.126, allocations: 6.594 kB / 1.234 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/1.126, allocations: 4.344 kB / 1.234 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.126, allocations: 1.094 kB / 1.234 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/1.126, allocations: 14.27 kB / 1.234 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.557e-06/1.126, allocations: 7.875 kB / 1.234 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/1.126, allocations: 5.531 kB / 1.234 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/1.126, allocations: 2.688 kB / 1.234 GB, free: 4.461 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 8.222e-05/1.126, allocations: 108.4 kB / 1.235 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/1.126, allocations: 5.344 kB / 1.235 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/1.126, allocations: 7.125 kB / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/1.126, allocations: 1.281 kB / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.126, allocations: 3.938 kB / 1.235 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/1.126, allocations: 0 / 1.235 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/1.126, allocations: 343.7 kB / 1.235 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.126, allocations: 0 / 1.235 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/1.126, allocations: 6.062 kB / 1.235 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.127, allocations: 7.875 kB / 1.235 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/1.127, allocations: 0 / 1.235 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.127, allocations: 5.188 kB / 1.235 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.127, allocations: 96 / 1.235 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.398e-05/1.127, allocations: 64.45 kB / 1.235 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/1.127, allocations: 85.98 kB / 1.235 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/1.127, allocations: 0 / 1.235 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/1.127, allocations: 2.562 kB / 1.235 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/1.127, allocations: 1.281 kB / 1.235 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/1.127, allocations: 8.016 kB / 1.235 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.967e-05/1.127, allocations: 84.69 kB / 1.235 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/1.127, allocations: 0 / 1.235 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001952/1.127, allocations: 6.406 kB / 1.235 GB, free: 3.668 MB / 0.9669 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.327e-05/1.127, allocations: 97.16 kB / 1.235 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/1.127, allocations: 16.11 kB / 1.235 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.127, allocations: 5.031 kB / 1.235 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/1.127, allocations: 10.28 kB / 1.235 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/1.127, allocations: 2.219 kB / 1.235 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/1.128, allocations: 116.6 kB / 1.235 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/1.128, allocations: 0.6775 MB / 1.236 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.606e-05/1.128, allocations: 7.719 kB / 1.236 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/1.128, allocations: 8.625 kB / 1.236 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/1.128, allocations: 0 / 1.236 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of Templates: time 0.002355/1.13, allocations: 0.5124 MB / 1.237 GB, free: 2.473 MB / 0.9669 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