Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001478/0.001478, allocations: 102.1 kB / 19.7 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.001611/0.001611, allocations: 220.2 kB / 23.01 MB, free: 4.609 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.894/2.894, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001847/0.001847, allocations: 70.62 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2957, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004647/0.3003, allocations: 3.398 MB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 8.937e-05/0.3004, allocations: 55.84 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.3004, allocations: 4 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.252e-05/0.3005, allocations: 3.938 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.3006, allocations: 11.92 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.3011, allocations: 192.8 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.3011, allocations: 39.83 kB / 1.358 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.46e-05/0.3012, allocations: 4 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.3012, allocations: 19.92 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.3013, allocations: 11.92 kB / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3013, allocations: 4 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.3016, allocations: 191.5 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.3017, allocations: 3.984 kB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.3017, allocations: 11.94 kB / 1.358 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.3019, allocations: 135.7 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3019, allocations: 0 / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3019, allocations: 3.938 kB / 1.358 GB, free: 3.852 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3019, allocations: 7.938 kB / 1.358 GB, free: 3.844 MB / 1.045 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.0003581/0.3023, allocations: 271.4 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3023, allocations: 12.03 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.3024, allocations: 0.9375 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.3025, allocations: 114.5 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.3025, allocations: 51.97 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3025, allocations: 384 / 1.359 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3027, allocations: 53.62 kB / 1.359 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3027, allocations: 0 / 1.359 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3027, allocations: 0 / 1.359 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3027, allocations: 0 / 1.359 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.3027, allocations: 19.92 kB / 1.359 GB, free: 3.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3032, allocations: 255.9 kB / 1.359 GB, free: 2.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.3032, allocations: 26.61 kB / 1.359 GB, free: 2.934 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.3032, allocations: 8.859 kB / 1.359 GB, free: 2.922 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.449e-05/0.3033, allocations: 36.02 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3034, allocations: 34.56 kB / 1.359 GB, free: 2.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3034, allocations: 0 / 1.359 GB, free: 2.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.3035, allocations: 37.64 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3035, allocations: 51.41 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.3036, allocations: 105.8 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3036, allocations: 29.83 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.3037, allocations: 88.03 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-06/0.3037, allocations: 0 / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.3037, allocations: 25.64 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3038, allocations: 318.7 kB / 1.36 GB, free: 2.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.3038, allocations: 4 kB / 1.36 GB, free: 2.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.3039, allocations: 17.72 kB / 1.36 GB, free: 2.121 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.615e-05/0.3039, allocations: 29.64 kB / 1.36 GB, free: 2.086 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3039, allocations: 4 kB / 1.36 GB, free: 2.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.827e-05/0.304, allocations: 45.66 kB / 1.36 GB, free: 2.031 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.304, allocations: 7.984 kB / 1.36 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.304, allocations: 0 / 1.36 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.304, allocations: 4 kB / 1.36 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.3041, allocations: 7.938 kB / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3041, allocations: 0 / 1.36 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.3041, allocations: 4.062 kB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3041, allocations: 4 kB / 1.36 GB, free: 2.004 MB / 1.045 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.21e-05/0.3042, allocations: 113.8 kB / 1.36 GB, free: 1.883 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3042, allocations: 4 kB / 1.36 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3043, allocations: 113 kB / 1.36 GB, free: 1.758 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.347e-05/0.3044, allocations: 188.2 kB / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.681e-05/0.3044, allocations: 184.3 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/0.3045, allocations: 184.3 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3047, allocations: 376.3 kB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.169e-05/0.3048, allocations: 109 kB / 1.361 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.3048, allocations: 105.2 kB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.968e-05/0.3049, allocations: 180.3 kB / 1.361 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.774e-05/0.305, allocations: 184.2 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-05/0.305, allocations: 176.3 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-05/0.3051, allocations: 184.2 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3053, allocations: 311.8 kB / 1.362 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.3053, allocations: 116.9 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.3054, allocations: 180.2 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3055, allocations: 109 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.3056, allocations: 180.2 kB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.3057, allocations: 109 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.3057, allocations: 83.27 kB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3057, allocations: 4 kB / 1.363 GB, free: 14.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002765/0.306, allocations: 35.88 kB / 1.363 GB, free: 14.65 MB / 1.061 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.0002471/0.3062, allocations: 240.8 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.3063, allocations: 19.92 kB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3063, allocations: 0 / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.3063, allocations: 0 / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.3067, allocations: 459.6 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.307, allocations: 211.8 kB / 1.364 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3073, allocations: 0.6806 MB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.3073, allocations: 11.44 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3073, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of Templates: time 0.002589/0.3099, allocations: 1.183 MB / 1.365 GB, free: 11.8 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.92207046598196]