Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001374/0.001374, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001513/0.001513, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.776/2.776, allocations: 476 MB / 0.7707 GB, free: 4.719 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [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.00214/0.00214, allocations: 68.66 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3737, allocations: 170 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006295/0.38, allocations: 3.886 MB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3831, allocations: 2.231 MB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.3832, allocations: 4 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.3835, allocations: 47.69 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3839, allocations: 107.3 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3854, allocations: 0.5474 MB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.3858, allocations: 259.8 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.3858, allocations: 13.69 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.3861, allocations: 115.7 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3862, allocations: 95.58 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3863, allocations: 8 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008195/0.3871, allocations: 399.3 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.3872, allocations: 39.88 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3873, allocations: 75.72 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006889/0.388, allocations: 410.7 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.388, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.388, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.388, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008892/0.3889, allocations: 451.2 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3889, allocations: 12.03 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.391, allocations: 192.6 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.3915, allocations: 146.3 kB / 1.293 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.3915, allocations: 16.7 kB / 1.293 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.3915, allocations: 16.38 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.3924, allocations: 0.5058 MB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3924, allocations: 3.938 kB / 1.293 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.3925, allocations: 8 kB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.3925, allocations: 8 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.3932, allocations: 255.6 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.395, allocations: 1.169 MB / 1.295 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.3957, allocations: 186.4 kB / 1.295 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3959, allocations: 68.81 kB / 1.295 GB, free: 408 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3959, allocations: 8 kB / 1.295 GB, free: 400 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.396, allocations: 34.56 kB / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/0.396, allocations: 0 / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008418/0.3968, allocations: 247.9 kB / 1.295 GB, free: 104 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.3969, allocations: 51.41 kB / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.397, allocations: 149.7 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.3971, allocations: 37.64 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.3972, allocations: 132.2 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.3973, allocations: 59.48 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3974, allocations: 53.88 kB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.3976, allocations: 322.8 kB / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3978, allocations: 64.42 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.3981, allocations: 143 kB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.3986, allocations: 223 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3986, allocations: 3.938 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006322/0.3992, allocations: 248.3 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3993, allocations: 8.297 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3993, allocations: 8 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3993, allocations: 7.984 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.3997, allocations: 71.89 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3997, allocations: 0 / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3999, allocations: 31.77 kB / 1.297 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.3999, allocations: 12 kB / 1.297 GB, free: 14.39 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001397/0.4001, allocations: 129.7 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.4001, allocations: 19.94 kB / 1.297 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.4008, allocations: 222.6 kB / 1.297 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4008, allocations: 7.938 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4008, allocations: 0 / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4008, allocations: 3.984 kB / 1.297 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.4011, allocations: 177.1 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4011, allocations: 4 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.4015, allocations: 43.97 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4015, allocations: 7.938 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4015, allocations: 11.98 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4015, allocations: 0 / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4015, allocations: 0 / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000675/0.4022, allocations: 301.1 kB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.864e-05/0.4022, allocations: 27.81 kB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.4023, allocations: 8 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.4025, allocations: 15.98 kB / 1.298 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.4026, allocations: 15.97 kB / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.4026, allocations: 8 kB / 1.298 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001395/0.4027, allocations: 103.2 kB / 1.298 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4027, allocations: 0 / 1.298 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000384/0.4031, allocations: 63.94 kB / 1.298 GB, free: 13.18 MB / 0.9981 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 (20): * Single equations (assignments): 20 * 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.00024/0.4034, allocations: 127.2 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.4039, allocations: 175.7 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4039, allocations: 0.625 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.4042, allocations: 91.81 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.4046, allocations: 51.83 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4057, allocations: 428.2 kB / 1.299 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4058, allocations: 106.8 kB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.4059, allocations: 23.42 kB / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.4059, allocations: 0 / 1.299 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.005853/0.4118, allocations: 2.842 MB / 1.301 GB, free: 9.309 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.323373787105083]