Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 90.67 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008999/0.009, allocations: 171.5 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.959/2.959, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003591, allocations: 10.94 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3855, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005274/0.3908, allocations: 3.731 MB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003297/0.3942, allocations: 2.422 MB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.3944, allocations: 4 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.3948, allocations: 35.8 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.3952, allocations: 95.41 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3967, allocations: 484.2 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.3972, allocations: 335.7 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.228e-05/0.3973, allocations: 13.56 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.3976, allocations: 111.5 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.3977, allocations: 99.64 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.3978, allocations: 8 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009354/0.3987, allocations: 463.1 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.3988, allocations: 35.89 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.399, allocations: 109.3 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009131/0.3999, allocations: 415.1 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3999, allocations: 0 / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3999, allocations: 0 / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3999, allocations: 0 / 1.067 GB, free: 12.62 MB / 0.8262 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.0008801/0.4008, allocations: 479.3 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4009, allocations: 15.97 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.4029, allocations: 180.5 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.4032, allocations: 216.1 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.4032, allocations: 16.69 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.4033, allocations: 16.38 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.4039, allocations: 304.3 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4039, allocations: 7.938 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.404, allocations: 12 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.404, allocations: 4 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.4047, allocations: 263.6 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.4064, allocations: 1.389 MB / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.4071, allocations: 182.5 kB / 1.07 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.4074, allocations: 80.84 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4074, allocations: 7.984 kB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.4075, allocations: 42.5 kB / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.4075, allocations: 0 / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.000808/0.4083, allocations: 246.6 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4083, allocations: 55.41 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4085, allocations: 155.9 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.4085, allocations: 29.7 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4086, allocations: 128 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.4087, allocations: 63.09 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.4088, allocations: 21.72 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4089, allocations: 326.8 kB / 1.071 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.4091, allocations: 72.41 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.4094, allocations: 139 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.4099, allocations: 223.2 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.41, allocations: 0 / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006148/0.4106, allocations: 255.1 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4106, allocations: 7.938 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4106, allocations: 4 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4106, allocations: 8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.411, allocations: 63.89 kB / 1.072 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.411, allocations: 4 kB / 1.072 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4113, allocations: 36.05 kB / 1.072 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.4113, allocations: 12 kB / 1.072 GB, free: 7.254 MB / 0.8262 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.0001381/0.4114, allocations: 141.6 kB / 1.072 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.4115, allocations: 11.91 kB / 1.072 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.4121, allocations: 223.7 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4122, allocations: 3.984 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4122, allocations: 8 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4122, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.4125, allocations: 257.4 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4125, allocations: 4 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.4128, allocations: 43.91 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4128, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.4128, allocations: 8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4128, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4128, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.4134, allocations: 308.8 kB / 1.073 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4135, allocations: 104.9 kB / 1.073 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.4135, allocations: 0 / 1.073 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.4138, allocations: 23.98 kB / 1.073 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.4139, allocations: 15.98 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.4139, allocations: 7.984 kB / 1.073 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.414, allocations: 122.1 kB / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.414, allocations: 0 / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003595/0.4144, allocations: 55.94 kB / 1.073 GB, free: 5.844 MB / 0.8262 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.0002113/0.4146, allocations: 131.2 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005348/0.4151, allocations: 181.7 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4151, allocations: 8 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.4154, allocations: 91.81 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.4159, allocations: 59.89 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.4168, allocations: 499.4 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4171, allocations: 0.7175 MB / 1.075 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003535/0.4175, allocations: 49.92 kB / 1.075 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.046e-05/0.4176, allocations: 27.42 kB / 1.075 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of SimCode: time 7.61e-07/0.4176, allocations: 0 / 1.075 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.007743/0.4254, allocations: 3.252 MB / 1.078 GB, free: 0.8594 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches