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.001932/0.001932, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002074/0.002074, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.858/2.858, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.914e-06/1.914e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.983e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.212/0.2121, allocations: 143.4 MB / 0.9264 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001907/0.2122, allocations: 47.8 kB / 0.9265 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.2123, allocations: 0 / 0.9265 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2124, allocations: 11.86 kB / 0.9265 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 9.179e-05/0.2125, allocations: 11.94 kB / 0.9265 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.2131, allocations: 111.5 kB / 0.9266 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2132, allocations: 35.84 kB / 0.9266 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.2133, allocations: 4 kB / 0.9266 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.2134, allocations: 23.97 kB / 0.9266 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.2135, allocations: 11.92 kB / 0.9267 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.2135, allocations: 0 / 0.9267 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.2138, allocations: 71.67 kB / 0.9267 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.2139, allocations: 15.98 kB / 0.9267 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.2139, allocations: 4 kB / 0.9267 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.2141, allocations: 75.78 kB / 0.9268 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2142, allocations: 0 / 0.9268 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2142, allocations: 0 / 0.9268 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2142, allocations: 0 / 0.9268 GB, free: 12.52 MB / 0.8855 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.0006715/0.2148, allocations: 360.3 kB / 0.9272 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.2149, allocations: 8.031 kB / 0.9272 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.2153, allocations: 28.81 kB / 0.9272 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2154, allocations: 128.5 kB / 0.9273 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.2155, allocations: 55.97 kB / 0.9274 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.2155, allocations: 4.125 kB / 0.9274 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2157, allocations: 67.39 kB / 0.9274 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-06/0.2157, allocations: 0 / 0.9274 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2157, allocations: 4 kB / 0.9274 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2157, allocations: 0 / 0.9274 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.2158, allocations: 11.98 kB / 0.9275 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.2163, allocations: 263.8 kB / 0.9277 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.877e-05/0.2164, allocations: 31 kB / 0.9277 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.2164, allocations: 7.75 kB / 0.9277 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.2164, allocations: 4 kB / 0.9277 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.2164, allocations: 33.39 kB / 0.9278 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2164, allocations: 0 / 0.9278 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.2166, allocations: 41.59 kB / 0.9278 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.2166, allocations: 51.41 kB / 0.9279 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.2168, allocations: 169.9 kB / 0.928 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2168, allocations: 25.7 kB / 0.9281 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.2169, allocations: 135 kB / 0.9282 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.2169, allocations: 7.953 kB / 0.9282 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.217, allocations: 23.36 kB / 0.9282 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002592/0.2172, allocations: 0.4883 MB / 0.9287 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.2173, allocations: 0 / 0.9287 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.2173, allocations: 39.05 kB / 0.9287 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.2174, allocations: 39 kB / 0.9288 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2174, allocations: 0 / 0.9288 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.829e-05/0.2175, allocations: 57.58 kB / 0.9288 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2175, allocations: 4 kB / 0.9288 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2175, allocations: 3.984 kB / 0.9288 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2175, allocations: 256 / 0.9288 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.2176, allocations: 8 kB / 0.9288 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2176, allocations: 4 kB / 0.9288 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.2176, allocations: 7.938 kB / 0.9288 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.2176, allocations: 0 / 0.9288 GB, free: 10.19 MB / 0.8855 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 0.0001198/0.2177, allocations: 160.5 kB / 0.929 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.2178, allocations: 12.12 kB / 0.929 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.2178, allocations: 7.156 kB / 0.929 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2178, allocations: 3.938 kB / 0.929 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2178, allocations: 0 / 0.929 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2178, allocations: 7.984 kB / 0.929 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.2182, allocations: 396.3 kB / 0.9294 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2182, allocations: 0 / 0.9294 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.2182, allocations: 0 / 0.9294 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2182, allocations: 0 / 0.9294 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.2182, allocations: 4 kB / 0.9294 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2182, allocations: 4.031 kB / 0.9294 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2182, allocations: 0 / 0.9294 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.2183, allocations: 76.33 kB / 0.9295 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.2183, allocations: 3.984 kB / 0.9295 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2183, allocations: 0 / 0.9295 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.2184, allocations: 4 kB / 0.9295 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.2184, allocations: 0 / 0.9295 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.2184, allocations: 3.938 kB / 0.9295 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.187e-05/0.2185, allocations: 127.2 kB / 0.9296 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.2185, allocations: 0 / 0.9296 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001936/0.2187, allocations: 12 kB / 0.9296 GB, free: 9.305 MB / 0.8855 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.0001336/0.2188, allocations: 99.28 kB / 0.9297 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.424e-05/0.2189, allocations: 19.62 kB / 0.9297 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2189, allocations: 4 kB / 0.9297 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.2189, allocations: 7.688 kB / 0.9298 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.2192, allocations: 11.98 kB / 0.9298 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.2195, allocations: 110.8 kB / 0.9299 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.2195, allocations: 75.22 kB / 0.9299 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.625e-05/0.2196, allocations: 0 / 0.9299 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.2196, allocations: 12.5 kB / 0.93 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of SimCode: time 7.82e-07/0.2196, allocations: 3.938 kB / 0.93 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of Templates: time 0.003519/0.2231, allocations: 0.5711 MB / 0.9305 GB, free: 8.352 MB / 0.8855 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] 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: 8.061891132034361]