Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002333/0.002333, 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.00266/0.00266, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.067/3.067, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.918e-05, allocations: 3.25 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1983/0.1983, allocations: 130.8 MB / 0.9385 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.1985, allocations: 47.75 kB / 0.9386 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.1985, allocations: 0 / 0.9386 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1986, allocations: 4 kB / 0.9386 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.1987, allocations: 19.91 kB / 0.9386 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.1997, allocations: 246.7 kB / 0.9389 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.1998, allocations: 39.84 kB / 0.9389 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.1998, allocations: 0 / 0.9389 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.1998, allocations: 23.92 kB / 0.9389 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.1999, allocations: 11.97 kB / 0.9389 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1999, allocations: 4 kB / 0.9389 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.2004, allocations: 179.4 kB / 0.9391 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.2004, allocations: 4 kB / 0.9391 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.2005, allocations: 11.97 kB / 0.9391 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.2009, allocations: 179.5 kB / 0.9393 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2009, allocations: 0 / 0.9393 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2009, allocations: 0 / 0.9393 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2009, allocations: 0 / 0.9393 GB, free: 14.14 MB / 0.9011 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.000561/0.2014, allocations: 396 kB / 0.9397 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2015, allocations: 8.031 kB / 0.9397 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.2015, allocations: 0.9375 kB / 0.9397 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.2017, allocations: 112.6 kB / 0.9398 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.679e-05/0.2017, allocations: 59.91 kB / 0.9398 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2018, allocations: 4.375 kB / 0.9398 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2019, allocations: 71.7 kB / 0.9399 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2019, allocations: 3.984 kB / 0.9399 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2019, allocations: 0 / 0.9399 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.202, allocations: 3.984 kB / 0.9399 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.202, allocations: 8 kB / 0.9399 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.2027, allocations: 307.7 kB / 0.9402 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.157e-05/0.2027, allocations: 34.94 kB / 0.9402 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.2028, allocations: 7.688 kB / 0.9403 GB, free: 13 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.062e-05/0.2028, allocations: 32.03 kB / 0.9403 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2029, allocations: 37.39 kB / 0.9403 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2029, allocations: 0 / 0.9403 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001603/0.203, allocations: 37.64 kB / 0.9404 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2031, allocations: 55.53 kB / 0.9404 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2032, allocations: 161.9 kB / 0.9406 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2032, allocations: 29.7 kB / 0.9406 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.2033, allocations: 130.8 kB / 0.9407 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-06/0.2033, allocations: 3.953 kB / 0.9407 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.2034, allocations: 27.36 kB / 0.9407 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002579/0.2036, allocations: 492.1 kB / 0.9412 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.2037, allocations: 4 kB / 0.9412 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.2037, allocations: 23.38 kB / 0.9412 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.2037, allocations: 27.36 kB / 0.9413 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2037, allocations: 7.938 kB / 0.9413 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.034e-05/0.2038, allocations: 45.64 kB / 0.9413 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2038, allocations: 7.984 kB / 0.9413 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2038, allocations: 0 / 0.9413 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2039, allocations: 7.938 kB / 0.9413 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.2039, allocations: 4 kB / 0.9413 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2039, allocations: 3.938 kB / 0.9413 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.2039, allocations: 0 / 0.9413 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2039, allocations: 4 kB / 0.9413 GB, free: 11.79 MB / 0.9011 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.0001189/0.2041, allocations: 164.6 kB / 0.9415 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.2041, allocations: 4 kB / 0.9415 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.2043, allocations: 171.7 kB / 0.9417 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001376/0.2044, allocations: 268 kB / 0.9419 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001352/0.2045, allocations: 268.1 kB / 0.9422 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001409/0.2047, allocations: 272.2 kB / 0.9424 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.205, allocations: 499.8 kB / 0.9429 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.289e-05/0.2051, allocations: 152.8 kB / 0.9431 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.2054, allocations: 148.8 kB / 0.9432 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.2056, allocations: 272.1 kB / 0.9435 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.2057, allocations: 268.1 kB / 0.9437 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000139/0.2059, allocations: 268 kB / 0.944 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001443/0.206, allocations: 268.1 kB / 0.9442 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.2063, allocations: 448 kB / 0.9447 GB, free: 8.227 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.2064, allocations: 152.8 kB / 0.9448 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.2065, allocations: 280 kB / 0.9451 GB, free: 7.789 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.2067, allocations: 152.9 kB / 0.9452 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.2069, allocations: 268 kB / 0.9455 GB, free: 7.363 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.2069, allocations: 148.9 kB / 0.9456 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.207, allocations: 127.2 kB / 0.9457 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.207, allocations: 4 kB / 0.9457 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003298/0.2073, allocations: 55.8 kB / 0.9458 GB, free: 7.027 MB / 0.9011 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.0004145/0.2078, allocations: 306.3 kB / 0.9461 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.2079, allocations: 23.62 kB / 0.9461 GB, free: 6.691 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2079, allocations: 3.938 kB / 0.9461 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.2079, allocations: 0 / 0.9461 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.2085, allocations: 0.7181 MB / 0.9468 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.2088, allocations: 228.9 kB / 0.947 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.2089, allocations: 63.36 kB / 0.9471 GB, free: 5.637 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.2089, allocations: 8.125 kB / 0.9471 GB, free: 5.629 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.209, allocations: 8.5 kB / 0.9471 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/0.209, allocations: 0 / 0.9471 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of Templates: time 0.004844/0.2138, allocations: 1.37 MB / 0.9484 GB, free: 4.262 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.341500715003349]