Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 111.7 kB / 18.88 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 195.1 kB / 22.17 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.928/2.928, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9808/0.9827, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005447/0.9882, allocations: 3.332 MB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.9883, allocations: 59.78 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.9883, allocations: 0 / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.9884, allocations: 3.938 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.9885, allocations: 15.91 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.9891, allocations: 199.2 kB / 1.278 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.9892, allocations: 31.91 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.9892, allocations: 0 / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.9893, allocations: 15.98 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.9894, allocations: 15.86 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.9894, allocations: 4 kB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.9898, allocations: 175.5 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.9898, allocations: 15.97 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.9898, allocations: 4 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.9901, allocations: 142.3 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9901, allocations: 4 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9901, allocations: 0 / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.9901, allocations: 0 / 1.278 GB, free: 0.5195 MB / 0.9669 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.0004641/0.9906, allocations: 347.3 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.9906, allocations: 8.031 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.9907, allocations: 0.9375 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.9908, allocations: 168.3 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.9909, allocations: 30.27 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.9909, allocations: 384 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.9911, allocations: 53.61 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.9911, allocations: 3.938 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9911, allocations: 0 / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.9911, allocations: 0 / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.9912, allocations: 19.92 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.9919, allocations: 0.5871 MB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.992, allocations: 22.61 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.992, allocations: 8.922 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.9923, allocations: 340.4 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.9923, allocations: 30.56 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.9923, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001705/0.9925, allocations: 41.62 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.9926, allocations: 55.53 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.9927, allocations: 105.8 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.9927, allocations: 25.7 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.9927, allocations: 88.08 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.9928, allocations: 3.953 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.9928, allocations: 17.72 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.993, allocations: 314.8 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.993, allocations: 4 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.993, allocations: 25.7 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/0.9931, allocations: 21.66 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9931, allocations: 0 / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.475e-05/0.9931, allocations: 45.69 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.9932, allocations: 4 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9932, allocations: 3.938 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.9932, allocations: 8.062 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.9932, allocations: 4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.9932, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.9933, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.9933, allocations: 7.984 kB / 1.28 GB, free: 13.77 MB / 0.9825 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 9.522e-05/0.9934, allocations: 117.7 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.9934, allocations: 4 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.9935, allocations: 113 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.396e-05/0.9936, allocations: 192.2 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.619e-05/0.9937, allocations: 176.3 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.691e-05/0.9938, allocations: 184.2 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.9941, allocations: 409.2 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/0.9942, allocations: 101 kB / 1.281 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.9942, allocations: 108.9 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.217e-05/0.9943, allocations: 180.3 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.765e-05/0.9944, allocations: 184.3 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-05/0.9945, allocations: 180.2 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.772e-05/0.9946, allocations: 188.2 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.9948, allocations: 315.7 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.9949, allocations: 186 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.9951, allocations: 176.3 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.9953, allocations: 116.9 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.9954, allocations: 180.2 kB / 1.283 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.9955, allocations: 105 kB / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.581e-05/0.9955, allocations: 83.28 kB / 1.283 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9955, allocations: 0 / 1.283 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003371/0.9959, allocations: 39.86 kB / 1.283 GB, free: 10.29 MB / 0.9825 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.0003271/0.9962, allocations: 238.7 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.351e-05/0.9963, allocations: 12 kB / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9963, allocations: 0 / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.9963, allocations: 0 / 1.284 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.9968, allocations: 465 kB / 1.284 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.9971, allocations: 189.8 kB / 1.284 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.9975, allocations: 0.6729 MB / 1.285 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.9976, allocations: 14.17 kB / 1.285 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.9976, allocations: 15.44 kB / 1.285 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9976, allocations: 0 / 1.285 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of Templates: time 0.004451/1.002, allocations: 1.213 MB / 1.286 GB, free: 7.477 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.184784792829305]