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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000782/0.000782, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007934/0.0007934, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8604/0.8604, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.769/1.769, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.12e-06/5.12e-06, allocations: 3.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.799e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5297/0.5297, allocations: 130 MB / 1.128 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.5298, allocations: 49.75 kB / 1.128 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.5298, allocations: 0 / 1.128 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.53, allocations: 6.297 kB / 1.128 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.5301, allocations: 17.03 kB / 1.128 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.5305, allocations: 106.5 kB / 1.128 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.5306, allocations: 37.64 kB / 1.128 GB, free: 3.395 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.5306, allocations: 2.062 kB / 1.128 GB, free: 3.395 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.5307, allocations: 23.14 kB / 1.128 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.5308, allocations: 13.92 kB / 1.128 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.5308, allocations: 1.094 kB / 1.128 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.531, allocations: 70.31 kB / 1.128 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.5311, allocations: 9.406 kB / 1.128 GB, free: 3.352 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.5311, allocations: 9.734 kB / 1.128 GB, free: 3.348 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.5312, allocations: 81.61 kB / 1.128 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5312, allocations: 0.6562 kB / 1.128 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5312, allocations: 0 / 1.128 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5313, allocations: 1.125 kB / 1.128 GB, free: 3.32 MB / 0.9948 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.0003294/0.5316, allocations: 260.1 kB / 1.128 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5316, allocations: 10.28 kB / 1.128 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.5318, allocations: 21.89 kB / 1.129 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.199e-05/0.5319, allocations: 104.9 kB / 1.129 GB, free: 2.934 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.5319, allocations: 57.09 kB / 1.129 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.5319, allocations: 2.422 kB / 1.129 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.5321, allocations: 75.95 kB / 1.129 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5321, allocations: 3.938 kB / 1.129 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5321, allocations: 1.031 kB / 1.129 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5321, allocations: 3.172 kB / 1.129 GB, free: 2.793 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.5321, allocations: 17.69 kB / 1.129 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.5324, allocations: 210.8 kB / 1.129 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.478e-05/0.5324, allocations: 21.41 kB / 1.129 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.5324, allocations: 10.08 kB / 1.129 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.5325, allocations: 0.7969 kB / 1.129 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.5325, allocations: 36.81 kB / 1.129 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.5325, allocations: 0 / 1.129 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.5326, allocations: 42.55 kB / 1.129 GB, free: 2.457 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.5326, allocations: 51.41 kB / 1.129 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.5327, allocations: 109.9 kB / 1.129 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-06/0.5327, allocations: 25.7 kB / 1.129 GB, free: 2.258 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.5327, allocations: 91.42 kB / 1.129 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.5327, allocations: 13.2 kB / 1.129 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.5327, allocations: 13.66 kB / 1.129 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.713e-05/0.5328, allocations: 322 kB / 1.13 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.5328, allocations: 4.859 kB / 1.13 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.5328, allocations: 24.39 kB / 1.13 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.5328, allocations: 28.84 kB / 1.13 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5328, allocations: 0 / 1.13 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.685e-05/0.5329, allocations: 61.28 kB / 1.13 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5329, allocations: 5.828 kB / 1.13 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5329, allocations: 1.438 kB / 1.13 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5329, allocations: 1.281 kB / 1.13 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.533, allocations: 11.91 kB / 1.13 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.533, allocations: 1.953 kB / 1.13 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.533, allocations: 1.125 kB / 1.13 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.533, allocations: 6.656 kB / 1.13 GB, free: 1.715 MB / 0.9948 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 3.662e-05/0.533, allocations: 113.4 kB / 1.13 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.533, allocations: 5.109 kB / 1.13 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.5331, allocations: 9.5 kB / 1.13 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5331, allocations: 1.219 kB / 1.13 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5331, allocations: 0 / 1.13 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.5331, allocations: 0 / 1.13 GB, free: 1.59 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.5332, allocations: 299.4 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5332, allocations: 1.734 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-06/0.5332, allocations: 1.062 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5332, allocations: 1.922 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.5332, allocations: 0 / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.5332, allocations: 0 / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5332, allocations: 1.219 kB / 1.13 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.483e-05/0.5332, allocations: 66.92 kB / 1.13 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.5332, allocations: 1.922 kB / 1.13 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.5333, allocations: 4.969 kB / 1.13 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.5333, allocations: 3.703 kB / 1.13 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.5333, allocations: 1.578 kB / 1.13 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.5333, allocations: 0 / 1.13 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.5333, allocations: 95.23 kB / 1.13 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5333, allocations: 0 / 1.13 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001226/0.5335, allocations: 6.594 kB / 1.13 GB, free: 1.109 MB / 0.9948 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 7.768e-05/0.5335, allocations: 106.2 kB / 1.131 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.724e-05/0.5336, allocations: 13.03 kB / 1.131 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5336, allocations: 1.094 kB / 1.131 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.5336, allocations: 3 kB / 1.131 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.5338, allocations: 5.719 kB / 1.131 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.534, allocations: 134.9 kB / 1.131 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.534, allocations: 59.27 kB / 1.131 GB, free: 0.8047 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.5341, allocations: 14.91 kB / 1.131 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of SimCode: time 3.31e-07/0.5341, allocations: 0 / 1.131 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of Templates: time 0.001652/0.5357, allocations: 0.5795 MB / 1.131 GB, free: 0.7891 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.860972972586751]