Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001508/0.001508, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001525/0.001525, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.395/1.395, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 1.057 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3077, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.7984/1.106, allocations: 148.3 MB / 1.359 GB, free: 9.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001855/1.106, allocations: 51.61 kB / 1.359 GB, free: 9.141 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/1.106, allocations: 4 kB / 1.359 GB, free: 9.137 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/1.106, allocations: 2.141 kB / 1.359 GB, free: 9.137 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/1.107, allocations: 17.55 kB / 1.359 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/1.107, allocations: 106.6 kB / 1.359 GB, free: 9.074 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/1.107, allocations: 30.91 kB / 1.359 GB, free: 9.066 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/1.107, allocations: 1.984 kB / 1.359 GB, free: 9.066 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/1.107, allocations: 26.66 kB / 1.359 GB, free: 9.051 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/1.107, allocations: 13.55 kB / 1.359 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/1.107, allocations: 1.188 kB / 1.359 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/1.108, allocations: 89.47 kB / 1.359 GB, free: 9.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/1.108, allocations: 9.312 kB / 1.359 GB, free: 9.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/1.108, allocations: 11.7 kB / 1.359 GB, free: 9.004 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/1.108, allocations: 71.59 kB / 1.359 GB, free: 8.988 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.108, allocations: 0.6562 kB / 1.359 GB, free: 8.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.893e-06/1.108, allocations: 0 / 1.359 GB, free: 8.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.108, allocations: 0 / 1.359 GB, free: 8.988 MB / 1.045 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.0004786/1.108, allocations: 340.9 kB / 1.36 GB, free: 8.629 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.108, allocations: 9.031 kB / 1.36 GB, free: 8.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/1.109, allocations: 18.5 kB / 1.36 GB, free: 8.629 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/1.109, allocations: 170.5 kB / 1.36 GB, free: 8.426 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/1.109, allocations: 33.08 kB / 1.36 GB, free: 8.391 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/1.109, allocations: 1.125 kB / 1.36 GB, free: 8.391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/1.109, allocations: 58.73 kB / 1.36 GB, free: 8.344 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.109, allocations: 0 / 1.36 GB, free: 8.344 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/1.109, allocations: 1.25 kB / 1.36 GB, free: 8.344 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/1.109, allocations: 2.453 kB / 1.36 GB, free: 8.344 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/1.109, allocations: 17.91 kB / 1.36 GB, free: 8.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/1.11, allocations: 255.9 kB / 1.36 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/1.11, allocations: 20.73 kB / 1.36 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/1.11, allocations: 10.19 kB / 1.36 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/1.11, allocations: 1.188 kB / 1.36 GB, free: 8.027 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/1.11, allocations: 36.25 kB / 1.36 GB, free: 7.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.11, allocations: 0 / 1.36 GB, free: 7.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001489/1.11, allocations: 33.22 kB / 1.36 GB, free: 7.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.11, allocations: 51.41 kB / 1.36 GB, free: 7.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.11, allocations: 113.4 kB / 1.36 GB, free: 7.781 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.11, allocations: 25.7 kB / 1.36 GB, free: 7.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/1.11, allocations: 100.2 kB / 1.361 GB, free: 7.652 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-06/1.11, allocations: 1.094 kB / 1.361 GB, free: 7.652 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/1.11, allocations: 15.03 kB / 1.361 GB, free: 7.637 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.11, allocations: 316.8 kB / 1.361 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/1.11, allocations: 7.109 kB / 1.361 GB, free: 7.316 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/1.11, allocations: 30.19 kB / 1.361 GB, free: 7.285 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/1.11, allocations: 31.98 kB / 1.361 GB, free: 7.254 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/1.11, allocations: 0 / 1.361 GB, free: 7.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.175e-05/1.11, allocations: 57.78 kB / 1.361 GB, free: 7.211 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/1.111, allocations: 5.484 kB / 1.361 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/1.111, allocations: 1.531 kB / 1.361 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.111, allocations: 5.969 kB / 1.361 GB, free: 7.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/1.111, allocations: 9.344 kB / 1.361 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/1.111, allocations: 5.734 kB / 1.361 GB, free: 7.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/1.111, allocations: 5.094 kB / 1.361 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/1.111, allocations: 1.906 kB / 1.361 GB, free: 7.195 MB / 1.045 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.546e-05/1.111, allocations: 109.2 kB / 1.361 GB, free: 7.082 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/1.111, allocations: 6.125 kB / 1.361 GB, free: 7.078 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/1.111, allocations: 5.172 kB / 1.361 GB, free: 7.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.111, allocations: 4 kB / 1.361 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.111, allocations: 5.219 kB / 1.361 GB, free: 7.062 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.111, allocations: 1.531 kB / 1.361 GB, free: 7.062 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/1.111, allocations: 348.2 kB / 1.361 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.111, allocations: 0 / 1.361 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/1.111, allocations: 2.797 kB / 1.361 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.111, allocations: 3.938 kB / 1.361 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/1.111, allocations: 4.562 kB / 1.361 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.111, allocations: 0.5625 kB / 1.361 GB, free: 6.672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.111, allocations: 4.031 kB / 1.361 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.497e-05/1.111, allocations: 58.61 kB / 1.362 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/1.111, allocations: 79.2 kB / 1.362 GB, free: 6.508 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/1.111, allocations: 7.938 kB / 1.362 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/1.111, allocations: 3.953 kB / 1.362 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/1.111, allocations: 1.688 kB / 1.362 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-06/1.111, allocations: 0.8438 kB / 1.362 GB, free: 6.5 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.016e-05/1.111, allocations: 85.8 kB / 1.362 GB, free: 6.422 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.111, allocations: 3.938 kB / 1.362 GB, free: 6.418 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001929/1.112, allocations: 6 kB / 1.362 GB, free: 6.418 MB / 1.045 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.0001133/1.112, allocations: 103 kB / 1.362 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.176e-05/1.112, allocations: 9.203 kB / 1.362 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.112, allocations: 1.062 kB / 1.362 GB, free: 6.328 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-06/1.112, allocations: 9.812 kB / 1.362 GB, free: 6.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/1.112, allocations: 3.938 kB / 1.362 GB, free: 6.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/1.112, allocations: 142.5 kB / 1.362 GB, free: 6.176 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.113, allocations: 0.6763 MB / 1.363 GB, free: 5.48 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/1.113, allocations: 10.09 kB / 1.363 GB, free: 5.473 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/1.113, allocations: 0 / 1.363 GB, free: 5.473 MB / 1.045 GB Notification: Performance of Templates: time 0.002171/1.115, allocations: 0.5652 MB / 1.363 GB, free: 5.453 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.178395312046632]