Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001483/0.001483, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001614/0.001614, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.91/2.91, allocations: 0.49 GB / 0.7958 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.001917/0.001917, allocations: 68 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005375/0.2982, allocations: 4.13 MB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.2984, allocations: 163.5 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.2984, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.906e-05/0.2985, allocations: 11.94 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.515e-05/0.2986, allocations: 11.91 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.2989, allocations: 87.75 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.299, allocations: 31.84 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.299, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.299, allocations: 19.98 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.2991, allocations: 15.91 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.2991, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.2993, allocations: 75.72 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.2994, allocations: 15.98 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.2994, allocations: 7.938 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2995, allocations: 63.84 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2995, allocations: 4 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2995, allocations: 0 / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2995, allocations: 0 / 1.332 GB, free: 12.79 MB / 1.029 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.0003467/0.2999, allocations: 258.3 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2999, allocations: 12.03 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.2999, allocations: 0.9375 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3001, allocations: 114.5 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.3001, allocations: 51.97 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.3001, allocations: 384 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.3002, allocations: 53.56 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3003, allocations: 3.938 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3003, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.3003, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.3003, allocations: 11.98 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.3007, allocations: 243.9 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.3007, allocations: 18.58 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.3008, allocations: 12.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.3008, allocations: 4.062 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3008, allocations: 34.56 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3008, allocations: 0 / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001294/0.301, allocations: 41.64 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.301, allocations: 55.34 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.3011, allocations: 101.9 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3011, allocations: 25.7 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3011, allocations: 88.08 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-06/0.3011, allocations: 8 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3012, allocations: 13.72 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3013, allocations: 314.8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.3013, allocations: 16.05 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.3013, allocations: 13.72 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.3014, allocations: 21.72 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3014, allocations: 0 / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.892e-05/0.3015, allocations: 45.62 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3015, allocations: 8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3015, allocations: 4.062 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3015, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.3015, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3015, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.3016, allocations: 11.94 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3016, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 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 7.175e-05/0.3016, allocations: 113.8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3017, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.3018, allocations: 124.9 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.838e-05/0.3018, allocations: 180.2 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/0.3019, allocations: 180.2 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.597e-05/0.302, allocations: 180.3 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.3022, allocations: 384.2 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.223e-05/0.3023, allocations: 112.9 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.3023, allocations: 101 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.979e-05/0.3024, allocations: 184.2 kB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.3025, allocations: 184.2 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.6e-05/0.3026, allocations: 180.2 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.396e-05/0.3026, allocations: 180.3 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.3028, allocations: 311.7 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.3028, allocations: 109 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.3029, allocations: 180.2 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3031, allocations: 105 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.3032, allocations: 184.2 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.3032, allocations: 104.9 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.3032, allocations: 83.28 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3032, allocations: 0 / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000261/0.3035, allocations: 19.94 kB / 1.336 GB, free: 7.688 MB / 1.029 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.0001781/0.3037, allocations: 198.4 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.342e-05/0.3037, allocations: 15.94 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3038, allocations: 0 / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.3038, allocations: 3.938 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.3042, allocations: 463.6 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.3044, allocations: 204 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3047, allocations: 0.6807 MB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.3048, allocations: 11.44 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3048, allocations: 0 / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of Templates: time 0.002066/0.3068, allocations: 0.7182 MB / 1.338 GB, free: 5.34 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.94712693800102]