Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 202.8 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/0.8477, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1831/1.031, allocations: 148.3 MB / 1.419 GB, free: 15.69 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/1.031, allocations: 55.78 kB / 1.419 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/1.031, allocations: 0 / 1.419 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/1.031, allocations: 0 / 1.419 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/1.031, allocations: 15.92 kB / 1.419 GB, free: 15.62 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/1.032, allocations: 111 kB / 1.419 GB, free: 15.51 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/1.032, allocations: 35.91 kB / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/1.032, allocations: 0 / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/1.032, allocations: 15.92 kB / 1.419 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/1.032, allocations: 19.92 kB / 1.419 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/1.032, allocations: 0 / 1.419 GB, free: 15.44 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/1.032, allocations: 91.7 kB / 1.419 GB, free: 15.35 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/1.032, allocations: 7.984 kB / 1.419 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/1.032, allocations: 7.938 kB / 1.419 GB, free: 15.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/1.033, allocations: 86.5 kB / 1.419 GB, free: 15.25 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/1.033, allocations: 0 / 1.419 GB, free: 15.25 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/1.033, allocations: 0 / 1.419 GB, free: 15.25 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.033, allocations: 0 / 1.419 GB, free: 15.25 MB / 1.123 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.00046/1.033, allocations: 331.5 kB / 1.42 GB, free: 14.88 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.033, allocations: 12.03 kB / 1.42 GB, free: 14.87 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/1.033, allocations: 16.92 kB / 1.42 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/1.033, allocations: 168.3 kB / 1.42 GB, free: 14.65 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/1.034, allocations: 37.58 kB / 1.42 GB, free: 14.61 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/1.034, allocations: 0 / 1.42 GB, free: 14.61 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/1.034, allocations: 53.61 kB / 1.42 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.034, allocations: 0 / 1.42 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.034, allocations: 0 / 1.42 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/1.034, allocations: 7.984 kB / 1.42 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.983e-05/1.034, allocations: 15.98 kB / 1.42 GB, free: 14.53 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/1.034, allocations: 256.9 kB / 1.42 GB, free: 14.23 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 5.109e-05/1.034, allocations: 22.52 kB / 1.42 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/1.034, allocations: 4.859 kB / 1.42 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.541e-06/1.034, allocations: 48 / 1.42 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/1.034, allocations: 42.61 kB / 1.42 GB, free: 14.14 MB / 1.123 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/1.034, allocations: 0 / 1.42 GB, free: 14.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/1.035, allocations: 37.64 kB / 1.42 GB, free: 14.09 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.035, allocations: 55.34 kB / 1.42 GB, free: 14.03 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/1.035, allocations: 105.8 kB / 1.42 GB, free: 13.91 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.035, allocations: 25.7 kB / 1.42 GB, free: 13.88 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/1.035, allocations: 99.98 kB / 1.421 GB, free: 13.78 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/1.035, allocations: 0 / 1.421 GB, free: 13.78 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/1.035, allocations: 17.67 kB / 1.421 GB, free: 13.76 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.035, allocations: 322.9 kB / 1.421 GB, free: 13.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/1.035, allocations: 8 kB / 1.421 GB, free: 13.43 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/1.035, allocations: 18.58 kB / 1.421 GB, free: 13.4 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/1.035, allocations: 34.56 kB / 1.421 GB, free: 13.36 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.035, allocations: 0 / 1.421 GB, free: 13.36 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.988e-05/1.035, allocations: 57.62 kB / 1.421 GB, free: 13.29 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.035, allocations: 8 kB / 1.421 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.035, allocations: 3.938 kB / 1.421 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.035, allocations: 0 / 1.421 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/1.035, allocations: 4 kB / 1.421 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/1.035, allocations: 7.938 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/1.035, allocations: 4 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/1.035, allocations: 4 kB / 1.421 GB, free: 13.26 MB / 1.123 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 9.331e-05/1.035, allocations: 109.9 kB / 1.421 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/1.035, allocations: 7.938 kB / 1.421 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/1.035, allocations: 7.109 kB / 1.421 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.035, allocations: 0 / 1.421 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.036, allocations: 4.188 kB / 1.421 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/1.036, allocations: 0 / 1.421 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/1.036, allocations: 358.7 kB / 1.421 GB, free: 12.72 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/1.036, allocations: 0 / 1.421 GB, free: 12.72 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/1.036, allocations: 4 kB / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.036, allocations: 7.969 kB / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/1.036, allocations: 0 / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.036, allocations: 0 / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.036, allocations: 3.984 kB / 1.421 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.993e-05/1.036, allocations: 53.14 kB / 1.422 GB, free: 12.63 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/1.036, allocations: 81.05 kB / 1.422 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1.036, allocations: 0 / 1.422 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/1.036, allocations: 16.02 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/1.036, allocations: 0 / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/1.036, allocations: 3.938 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of sorting global known variables: time 6.015e-05/1.036, allocations: 79.28 kB / 1.422 GB, free: 12.44 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.036, allocations: 0 / 1.422 GB, free: 12.44 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0001935/1.036, allocations: 8 kB / 1.422 GB, free: 12.43 MB / 1.123 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.0001179/1.036, allocations: 103.7 kB / 1.422 GB, free: 12.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.764e-05/1.037, allocations: 20 kB / 1.422 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.037, allocations: 0 / 1.422 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/1.037, allocations: 3.938 kB / 1.422 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/1.037, allocations: 4 kB / 1.422 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/1.037, allocations: 114.6 kB / 1.422 GB, free: 12.16 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/1.038, allocations: 0.6768 MB / 1.423 GB, free: 11.45 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 4.979e-05/1.038, allocations: 12.33 kB / 1.423 GB, free: 11.44 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/1.038, allocations: 7.438 kB / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of SimCode: time 2.8e-07/1.038, allocations: 0 / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of Templates: time 0.002786/1.04, allocations: 0.5267 MB / 1.423 GB, free: 10.92 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.926252713892609]