Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.00181/0.00181, allocations: 89.48 kB / 19.44 MB, free: 328 kB / 13.93 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.002361/0.002361, allocations: 169.2 kB / 22.76 MB, free: 1.656 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.176 MB / 186.7 MB " [Timeout remaining time 178] 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 3.427/3.427, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8774 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.299e-05, allocations: 2.312 kB / 0.8774 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2045/0.2045, allocations: 130.8 MB / 1.005 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.2047, allocations: 59.67 kB / 1.005 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.2048, allocations: 0 / 1.005 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2049, allocations: 4 kB / 1.005 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.205, allocations: 11.92 kB / 1.005 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2061, allocations: 250.7 kB / 1.005 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.2062, allocations: 31.84 kB / 1.006 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.2062, allocations: 8 kB / 1.006 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.2063, allocations: 19.97 kB / 1.006 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.2064, allocations: 11.98 kB / 1.006 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2064, allocations: 0 / 1.006 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.2069, allocations: 183.4 kB / 1.006 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.2069, allocations: 7.938 kB / 1.006 GB, free: 1.684 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.542e-05/0.207, allocations: 4 kB / 1.006 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.2074, allocations: 183.5 kB / 1.006 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2074, allocations: 0 / 1.006 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2074, allocations: 0 / 1.006 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2074, allocations: 4 kB / 1.006 GB, free: 1.496 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006004/0.208, allocations: 388 kB / 1.006 GB, free: 1.082 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.208, allocations: 8.031 kB / 1.006 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.2081, allocations: 8.938 kB / 1.006 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.2083, allocations: 112.6 kB / 1.006 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.2083, allocations: 51.97 kB / 1.006 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2084, allocations: 384 / 1.006 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2085, allocations: 67.7 kB / 1.007 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.2085, allocations: 0 / 1.007 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2086, allocations: 0 / 1.007 GB, free: 0.7891 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.2086, allocations: 8 kB / 1.007 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.2086, allocations: 11.98 kB / 1.007 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.2094, allocations: 307.7 kB / 1.007 GB, free: 444 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.2094, allocations: 34.94 kB / 1.007 GB, free: 396 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.2095, allocations: 11.69 kB / 1.007 GB, free: 380 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.791e-05/0.2095, allocations: 28.05 kB / 1.007 GB, free: 352 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2096, allocations: 41.38 kB / 1.007 GB, free: 300 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.2096, allocations: 0 / 1.007 GB, free: 300 kB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.00019/0.2098, allocations: 41.64 kB / 1.007 GB, free: 252 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2098, allocations: 51.41 kB / 1.007 GB, free: 188 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.21, allocations: 169.9 kB / 1.007 GB, free: 16 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.21, allocations: 29.7 kB / 1.007 GB, free: 15.96 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.2101, allocations: 130.8 kB / 1.007 GB, free: 15.83 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.2101, allocations: 4 kB / 1.007 GB, free: 15.82 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.2102, allocations: 19.38 kB / 1.007 GB, free: 15.8 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.000287/0.2105, allocations: 0.4884 MB / 1.008 GB, free: 15.3 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.2105, allocations: 4 kB / 1.008 GB, free: 15.29 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.2105, allocations: 19.38 kB / 1.008 GB, free: 15.27 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.2106, allocations: 31.44 kB / 1.008 GB, free: 15.23 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.2106, allocations: 3.938 kB / 1.008 GB, free: 15.22 MB / 0.9324 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.809e-05/0.2107, allocations: 45.69 kB / 1.008 GB, free: 15.17 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.2107, allocations: 8 kB / 1.008 GB, free: 15.16 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2107, allocations: 0 / 1.008 GB, free: 15.16 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2107, allocations: 0 / 1.008 GB, free: 15.16 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.2108, allocations: 15.92 kB / 1.008 GB, free: 15.15 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2108, allocations: 4 kB / 1.008 GB, free: 15.14 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.2108, allocations: 3.953 kB / 1.008 GB, free: 15.14 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2108, allocations: 4.062 kB / 1.008 GB, free: 15.14 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.0001397/0.2109, allocations: 160.5 kB / 1.008 GB, free: 14.97 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.211, allocations: 288 / 1.008 GB, free: 14.97 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.2111, allocations: 167.7 kB / 1.008 GB, free: 14.79 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001575/0.2113, allocations: 276 kB / 1.009 GB, free: 14.52 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001542/0.2115, allocations: 264.1 kB / 1.009 GB, free: 14.25 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000141/0.2116, allocations: 264.1 kB / 1.009 GB, free: 13.98 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.2123, allocations: 0.492 MB / 1.01 GB, free: 13.45 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.742e-05/0.2123, allocations: 148.8 kB / 1.01 GB, free: 13.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.2124, allocations: 157 kB / 1.01 GB, free: 13.14 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.2126, allocations: 268.1 kB / 1.01 GB, free: 12.87 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.2127, allocations: 272 kB / 1.01 GB, free: 12.59 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001633/0.2129, allocations: 276 kB / 1.011 GB, free: 12.32 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001522/0.2131, allocations: 264.1 kB / 1.011 GB, free: 12.05 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.2133, allocations: 444 kB / 1.011 GB, free: 11.59 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.2135, allocations: 160.8 kB / 1.011 GB, free: 11.43 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.2136, allocations: 268.1 kB / 1.012 GB, free: 11.16 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.2138, allocations: 144.9 kB / 1.012 GB, free: 11.01 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.214, allocations: 272 kB / 1.012 GB, free: 10.73 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.2141, allocations: 152.9 kB / 1.012 GB, free: 10.58 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 9.469e-05/0.2142, allocations: 127.2 kB / 1.012 GB, free: 10.45 MB / 0.9324 GB Notification: Performance of sort global known variables: time 8e-08/0.2142, allocations: 0 / 1.012 GB, free: 10.45 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.0003554/0.2145, allocations: 55.73 kB / 1.012 GB, free: 10.4 MB / 0.9324 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 (0): * Single equations (assignments): 0 * 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.0004836/0.215, allocations: 310.2 kB / 1.013 GB, free: 10.09 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.2151, allocations: 19.62 kB / 1.013 GB, free: 10.06 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2151, allocations: 0 / 1.013 GB, free: 10.06 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2151, allocations: 0 / 1.013 GB, free: 10.06 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.2157, allocations: 0.7139 MB / 1.013 GB, free: 9.344 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.2161, allocations: 225.1 kB / 1.014 GB, free: 9.098 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.883e-05/0.2162, allocations: 67.2 kB / 1.014 GB, free: 9.012 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.2162, allocations: 8.125 kB / 1.014 GB, free: 9.004 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.2163, allocations: 8.5 kB / 1.014 GB, free: 8.996 MB / 0.9324 GB Notification: Performance of SimCode: time 5.41e-07/0.2163, allocations: 0 / 1.014 GB, free: 8.996 MB / 0.9324 GB Notification: Performance of Templates: time 0.005069/0.2213, allocations: 1.369 MB / 1.015 GB, free: 7.633 MB / 0.9324 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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: 9.265520722954534]