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.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.001069/0.001069, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001148/0.001148, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8518/0.8518, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.608/1.608, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.253e-06/1.253e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.801e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5595/0.5595, allocations: 130 MB / 1.079 GB, free: 40.73 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.5596, allocations: 49.23 kB / 1.079 GB, free: 40.72 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.5597, allocations: 1.203 kB / 1.079 GB, free: 40.72 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.5598, allocations: 4 kB / 1.079 GB, free: 40.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.5599, allocations: 20.06 kB / 1.079 GB, free: 40.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.5602, allocations: 114.9 kB / 1.079 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.373e-05/0.5603, allocations: 35.77 kB / 1.079 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.5603, allocations: 0 / 1.079 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.5604, allocations: 21.56 kB / 1.079 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.5605, allocations: 16.77 kB / 1.079 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.5605, allocations: 0 / 1.079 GB, free: 40.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.5606, allocations: 69.03 kB / 1.079 GB, free: 40.69 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.5607, allocations: 9.219 kB / 1.079 GB, free: 40.69 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.5607, allocations: 11.09 kB / 1.079 GB, free: 40.69 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.5608, allocations: 77.38 kB / 1.079 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5608, allocations: 2.656 kB / 1.079 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5608, allocations: 0 / 1.079 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5608, allocations: 0 / 1.079 GB, free: 40.68 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.0002827/0.5611, allocations: 259.4 kB / 1.079 GB, free: 40.43 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.5612, allocations: 12.66 kB / 1.079 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.5613, allocations: 15.77 kB / 1.079 GB, free: 40.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.26e-05/0.5614, allocations: 109.8 kB / 1.079 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/0.5614, allocations: 51.97 kB / 1.08 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.5615, allocations: 6.672 kB / 1.08 GB, free: 40.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5616, allocations: 75.52 kB / 1.08 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.5616, allocations: 0 / 1.08 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5616, allocations: 3.562 kB / 1.08 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5616, allocations: 10.17 kB / 1.08 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.928e-05/0.5616, allocations: 18.7 kB / 1.08 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.5619, allocations: 207 kB / 1.08 GB, free: 39.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.208e-05/0.5619, allocations: 25.38 kB / 1.08 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.5619, allocations: 8.328 kB / 1.08 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.5619, allocations: 0 / 1.08 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.5619, allocations: 33.44 kB / 1.08 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.5619, allocations: 0 / 1.08 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001071/0.562, allocations: 39.11 kB / 1.08 GB, free: 39.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/0.5621, allocations: 55.34 kB / 1.08 GB, free: 39.78 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.5621, allocations: 106.3 kB / 1.08 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.5621, allocations: 25.7 kB / 1.08 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.5621, allocations: 97.89 kB / 1.08 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.5621, allocations: 3.375 kB / 1.08 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.5622, allocations: 15.88 kB / 1.08 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.481e-05/0.5622, allocations: 317.6 kB / 1.081 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.5622, allocations: 2.906 kB / 1.081 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.5622, allocations: 27 kB / 1.081 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.631e-05/0.5622, allocations: 34.39 kB / 1.081 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5622, allocations: 0 / 1.081 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.372e-05/0.5623, allocations: 57.86 kB / 1.081 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.5623, allocations: 7.125 kB / 1.081 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5623, allocations: 0 / 1.081 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5623, allocations: 3.469 kB / 1.081 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.5624, allocations: 5.875 kB / 1.081 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5624, allocations: 2.969 kB / 1.081 GB, free: 39.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.5624, allocations: 7.156 kB / 1.081 GB, free: 39.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.5624, allocations: 5.156 kB / 1.081 GB, free: 39.12 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.418e-05/0.5624, allocations: 112.7 kB / 1.081 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.5624, allocations: 0 / 1.081 GB, free: 39.01 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.757e-05/0.5624, allocations: 12.98 kB / 1.081 GB, free: 39 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.5624, allocations: 1.203 kB / 1.081 GB, free: 39 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5624, allocations: 0 / 1.081 GB, free: 39 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.5624, allocations: 0 / 1.081 GB, free: 39 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.5626, allocations: 301 kB / 1.081 GB, free: 38.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.5626, allocations: 0 / 1.081 GB, free: 38.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.5626, allocations: 6.781 kB / 1.081 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.5626, allocations: 0 / 1.081 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.5626, allocations: 0 / 1.081 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.5626, allocations: 0 / 1.081 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5626, allocations: 0 / 1.081 GB, free: 38.68 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.062e-05/0.5626, allocations: 72.08 kB / 1.081 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-06/0.5626, allocations: 3.781 kB / 1.081 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.5626, allocations: 0 / 1.081 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.5627, allocations: 6.109 kB / 1.081 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.5627, allocations: 0 / 1.081 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-07/0.5627, allocations: 4.031 kB / 1.081 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.652e-05/0.5627, allocations: 88.41 kB / 1.081 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5627, allocations: 0 / 1.081 GB, free: 38.53 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001194/0.5628, allocations: 5.438 kB / 1.081 GB, free: 38.53 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 6.498e-05/0.5629, allocations: 99.66 kB / 1.081 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.5629, allocations: 18.34 kB / 1.081 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5629, allocations: 1.094 kB / 1.081 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/0.5629, allocations: 2.594 kB / 1.081 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.5631, allocations: 10.2 kB / 1.081 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.5633, allocations: 128.3 kB / 1.081 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.703e-05/0.5633, allocations: 60.38 kB / 1.082 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.5633, allocations: 11.44 kB / 1.082 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of SimCode: time 6.22e-07/0.5633, allocations: 0 / 1.082 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of Templates: time 0.001266/0.5646, allocations: 0.5838 MB / 1.082 GB, free: 38.21 MB / 0.9948 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.047222857363522]