Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001372/0.001372, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001593/0.001593, allocations: 222.8 kB / 23 MB, free: 4.914 MB / 14.72 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 66.16 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 170 MB / 1.284 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1604/0.4916, allocations: 119 MB / 1.4 GB, free: 4.52 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.4918, allocations: 43.89 kB / 1.4 GB, free: 4.477 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.4918, allocations: 7.938 kB / 1.4 GB, free: 4.469 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.4919, allocations: 11.92 kB / 1.4 GB, free: 4.457 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.492, allocations: 7.922 kB / 1.4 GB, free: 4.449 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.493, allocations: 250.3 kB / 1.4 GB, free: 4.207 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.422e-05/0.4931, allocations: 31.92 kB / 1.4 GB, free: 4.176 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.4931, allocations: 0 / 1.4 GB, free: 4.176 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.4932, allocations: 27.91 kB / 1.4 GB, free: 4.148 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.4932, allocations: 7.938 kB / 1.4 GB, free: 4.141 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.4932, allocations: 0 / 1.4 GB, free: 4.141 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.4937, allocations: 175.5 kB / 1.401 GB, free: 3.969 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.4937, allocations: 11.92 kB / 1.401 GB, free: 3.957 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.4938, allocations: 11.98 kB / 1.401 GB, free: 3.945 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.4941, allocations: 159.6 kB / 1.401 GB, free: 3.789 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4941, allocations: 4 kB / 1.401 GB, free: 3.785 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4941, allocations: 0 / 1.401 GB, free: 3.785 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4942, allocations: 0 / 1.401 GB, free: 3.785 MB / 1.092 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.0004778/0.4946, allocations: 294.1 kB / 1.401 GB, free: 3.469 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4947, allocations: 8.031 kB / 1.401 GB, free: 3.461 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.4947, allocations: 4.891 kB / 1.401 GB, free: 3.457 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4948, allocations: 110.5 kB / 1.401 GB, free: 3.324 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.4949, allocations: 51.97 kB / 1.401 GB, free: 3.262 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.4949, allocations: 3.938 kB / 1.401 GB, free: 3.258 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.4951, allocations: 79.36 kB / 1.401 GB, free: 3.168 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4951, allocations: 4 kB / 1.401 GB, free: 3.164 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4951, allocations: 0 / 1.401 GB, free: 3.164 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.4951, allocations: 0 / 1.401 GB, free: 3.164 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.4952, allocations: 15.98 kB / 1.401 GB, free: 3.148 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.4958, allocations: 260.4 kB / 1.401 GB, free: 2.863 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 4.735e-05/0.4959, allocations: 18.52 kB / 1.401 GB, free: 2.836 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.4959, allocations: 4.922 kB / 1.401 GB, free: 2.828 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.549e-05/0.496, allocations: 31.97 kB / 1.402 GB, free: 2.797 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.496, allocations: 34.56 kB / 1.402 GB, free: 2.754 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.496, allocations: 4 kB / 1.402 GB, free: 2.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001661/0.4962, allocations: 37.64 kB / 1.402 GB, free: 2.707 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.4962, allocations: 51.41 kB / 1.402 GB, free: 2.645 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.4963, allocations: 105.8 kB / 1.402 GB, free: 2.531 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.4963, allocations: 29.7 kB / 1.402 GB, free: 2.496 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.4964, allocations: 88.02 kB / 1.402 GB, free: 2.406 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.595e-06/0.4964, allocations: 3.953 kB / 1.402 GB, free: 2.402 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.4964, allocations: 21.7 kB / 1.402 GB, free: 2.375 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4966, allocations: 314.8 kB / 1.402 GB, free: 2.059 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.4966, allocations: 4.125 kB / 1.402 GB, free: 2.055 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.4966, allocations: 21.72 kB / 1.402 GB, free: 2.027 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.4967, allocations: 21.7 kB / 1.402 GB, free: 2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4967, allocations: 3.938 kB / 1.402 GB, free: 1.996 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.184e-05/0.4967, allocations: 41.7 kB / 1.402 GB, free: 1.949 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4968, allocations: 11.98 kB / 1.402 GB, free: 1.938 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4968, allocations: 0 / 1.402 GB, free: 1.938 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4968, allocations: 0 / 1.402 GB, free: 1.938 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.4968, allocations: 4 kB / 1.402 GB, free: 1.934 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.4968, allocations: 4.062 kB / 1.402 GB, free: 1.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.4968, allocations: 7.938 kB / 1.402 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4969, allocations: 0 / 1.402 GB, free: 1.922 MB / 1.092 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 8.812e-05/0.4969, allocations: 117.8 kB / 1.402 GB, free: 1.797 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.497, allocations: 3.953 kB / 1.402 GB, free: 1.793 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.4971, allocations: 117 kB / 1.403 GB, free: 1.668 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.082e-05/0.4972, allocations: 180.2 kB / 1.403 GB, free: 1.484 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.693e-05/0.4973, allocations: 184.3 kB / 1.403 GB, free: 1.297 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.991e-05/0.4973, allocations: 176.3 kB / 1.403 GB, free: 1.117 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.4976, allocations: 364.7 kB / 1.403 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/0.4976, allocations: 101 kB / 1.403 GB, free: 0.6172 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.4977, allocations: 120.9 kB / 1.404 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.599e-05/0.4978, allocations: 180.2 kB / 1.404 GB, free: 316 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/0.4978, allocations: 176.3 kB / 1.404 GB, free: 132 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001028/0.4979, allocations: 188.2 kB / 1.404 GB, free: 15.94 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.966e-05/0.498, allocations: 176.3 kB / 1.404 GB, free: 15.76 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.4982, allocations: 311.9 kB / 1.405 GB, free: 15.43 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.4983, allocations: 105 kB / 1.405 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.4984, allocations: 184.2 kB / 1.405 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4985, allocations: 113 kB / 1.405 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.4986, allocations: 184.5 kB / 1.405 GB, free: 14.83 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.4986, allocations: 105 kB / 1.405 GB, free: 14.72 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.4987, allocations: 79.28 kB / 1.405 GB, free: 14.64 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.4987, allocations: 0 / 1.405 GB, free: 14.64 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003329/0.499, allocations: 59.73 kB / 1.405 GB, free: 14.58 MB / 1.107 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.0003442/0.4994, allocations: 258.1 kB / 1.406 GB, free: 14.32 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.981e-05/0.4995, allocations: 15.94 kB / 1.406 GB, free: 14.3 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4995, allocations: 0 / 1.406 GB, free: 14.3 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4995, allocations: 0 / 1.406 GB, free: 14.3 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.4999, allocations: 469.4 kB / 1.406 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.5002, allocations: 203.9 kB / 1.406 GB, free: 13.61 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.311e-05/0.5003, allocations: 63.41 kB / 1.406 GB, free: 13.52 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.5003, allocations: 15.44 kB / 1.406 GB, free: 13.51 MB / 1.107 GB Notification: Performance of SimCode: time 3.71e-07/0.5003, allocations: 0 / 1.406 GB, free: 13.51 MB / 1.107 GB Notification: Performance of Templates: time 0.003069/0.5034, allocations: 1.232 MB / 1.408 GB, free: 12.28 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.230895026121289]