Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001454/0.001454, allocations: 110.2 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.001601/0.001601, allocations: 212.3 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.878/2.878, allocations: 0.49 GB / 0.7958 GB, free: 33.43 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [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.001958/0.001958, allocations: 64.44 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2908, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004856/0.2956, allocations: 3.405 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 8.683e-05/0.2957, allocations: 47.88 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.2957, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.569e-05/0.2958, allocations: 7.922 kB / 1.331 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.2959, allocations: 11.92 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.2964, allocations: 195.2 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.2965, allocations: 39.84 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.2965, allocations: 0 / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.2965, allocations: 23.92 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.2966, allocations: 7.984 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2966, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.297, allocations: 195.5 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.297, allocations: 11.98 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.297, allocations: 7.938 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.2973, allocations: 138.9 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2973, allocations: 3.938 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2973, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2973, allocations: 0 / 1.331 GB, free: 13.38 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.0003696/0.2977, allocations: 278.2 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2977, allocations: 12.03 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2977, allocations: 0.9375 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2978, allocations: 110.5 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.2979, allocations: 55.97 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-06/0.2979, allocations: 384 / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.298, allocations: 49.62 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.298, allocations: 0 / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.298, allocations: 4 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.298, allocations: 3.984 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.2981, allocations: 11.98 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.2986, allocations: 264 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.2986, allocations: 22.52 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.2986, allocations: 4.859 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.741e-05/0.2987, allocations: 36.03 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2987, allocations: 30.56 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2987, allocations: 0 / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.2989, allocations: 49.59 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.2989, allocations: 55.39 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.299, allocations: 93.86 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.299, allocations: 25.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.2991, allocations: 107.9 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.2991, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.2991, allocations: 13.72 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2992, allocations: 322.7 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.2992, allocations: 8.125 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.2993, allocations: 17.7 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.2993, allocations: 21.66 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2993, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.589e-05/0.2994, allocations: 49.69 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2994, allocations: 6.188 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2994, allocations: 4.062 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2994, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/0.2994, allocations: 8 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2995, allocations: 3.938 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.2995, allocations: 3.953 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.2995, allocations: 4 kB / 1.333 GB, free: 11.53 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.43e-05/0.2996, allocations: 114.3 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.2996, allocations: 0 / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.2997, allocations: 121 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/0.2998, allocations: 188.2 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-05/0.2999, allocations: 180.3 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.061e-05/0.2999, allocations: 176.3 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3002, allocations: 388.2 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.06e-05/0.3002, allocations: 105 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.3003, allocations: 104.9 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.007e-05/0.3004, allocations: 180.3 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.3004, allocations: 184.2 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.718e-05/0.3005, allocations: 180.2 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.301e-05/0.3006, allocations: 176.3 kB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3007, allocations: 311.7 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.3008, allocations: 112.9 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.3009, allocations: 176.3 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.301, allocations: 109 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.3011, allocations: 188.2 kB / 1.336 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.3012, allocations: 105 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.3012, allocations: 87.28 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3012, allocations: 3.938 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002902/0.3015, allocations: 39.86 kB / 1.336 GB, free: 8.168 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.0002392/0.3017, allocations: 232.8 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.3018, allocations: 11.94 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3018, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.011e-06/0.3018, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3023, allocations: 463.8 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.3025, allocations: 207.8 kB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3028, allocations: 0.6844 MB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.3028, allocations: 15.42 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3028, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of Templates: time 0.002755/0.3056, allocations: 1.188 MB / 1.339 GB, free: 5.324 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 10.03009509498952]