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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001601/0.001601, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002299/0.002299, allocations: 195 kB / 16.14 MB, free: 6.648 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.916/2.916, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 61.38 kB / 0.8984 GB, free: 37.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3708, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006556/0.3774, allocations: 4.12 MB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.3804, allocations: 2.461 MB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.3806, allocations: 0 / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.3809, allocations: 31.81 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.3813, allocations: 91.47 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.3826, allocations: 485 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.3831, allocations: 335.8 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.839e-05/0.3832, allocations: 17.55 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.3835, allocations: 107.6 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.3837, allocations: 103.6 kB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.3837, allocations: 8 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.3848, allocations: 459.1 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.3849, allocations: 35.88 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.385, allocations: 79.67 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3861, allocations: 419.2 kB / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3862, allocations: 0 / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3862, allocations: 0 / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.3862, allocations: 0 / 1.061 GB, free: 112 kB / 0.8106 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.000946/0.3871, allocations: 0.4994 MB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3872, allocations: 12.03 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.3893, allocations: 176.5 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3897, allocations: 220 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.3897, allocations: 16.7 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.3898, allocations: 12.38 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006863/0.3904, allocations: 308.3 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3905, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.3905, allocations: 8 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.3905, allocations: 4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.3913, allocations: 263.6 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.3929, allocations: 1.381 MB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.3937, allocations: 194.7 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.3939, allocations: 85.72 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.3939, allocations: 11.94 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.394, allocations: 34.56 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.394, allocations: 0 / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0007801/0.3948, allocations: 243.6 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3948, allocations: 59.34 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.395, allocations: 161.1 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.395, allocations: 33.7 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.3951, allocations: 124 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.3951, allocations: 67.08 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.3952, allocations: 53.84 kB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3954, allocations: 318.8 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.3956, allocations: 76.34 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3959, allocations: 135.7 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.3964, allocations: 221.2 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.3964, allocations: 4 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006111/0.397, allocations: 254.5 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.397, allocations: 8 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3971, allocations: 4 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3971, allocations: 4 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.3975, allocations: 63.89 kB / 1.065 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3975, allocations: 4 kB / 1.065 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.3978, allocations: 28.14 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.3978, allocations: 12 kB / 1.066 GB, free: 10.7 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.0001302/0.3979, allocations: 139.2 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.398, allocations: 15.81 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.3986, allocations: 227.5 kB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3987, allocations: 7.984 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3987, allocations: 4 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.3987, allocations: 0 / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.399, allocations: 253.4 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.399, allocations: 0 / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.3993, allocations: 43.97 kB / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.3994, allocations: 0 / 1.066 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.3994, allocations: 7.938 kB / 1.066 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.3994, allocations: 4 kB / 1.066 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3994, allocations: 0 / 1.066 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.4, allocations: 300.7 kB / 1.066 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4001, allocations: 104.9 kB / 1.067 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.4001, allocations: 4 kB / 1.067 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.4004, allocations: 15.98 kB / 1.067 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.4005, allocations: 15.98 kB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4005, allocations: 7.984 kB / 1.067 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.846e-05/0.4006, allocations: 119.2 kB / 1.067 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4006, allocations: 0 / 1.067 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000403/0.401, allocations: 63.94 kB / 1.067 GB, free: 9.293 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.0002467/0.4013, allocations: 143.2 kB / 1.067 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.4018, allocations: 187.7 kB / 1.067 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4018, allocations: 4 kB / 1.067 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.4021, allocations: 83.88 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.4026, allocations: 57.95 kB / 1.067 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.4037, allocations: 468.8 kB / 1.068 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.404, allocations: 0.7176 MB / 1.068 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000376/0.4044, allocations: 53.88 kB / 1.068 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.4045, allocations: 23.42 kB / 1.068 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4045, allocations: 0 / 1.068 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of Templates: time 0.00728/0.4118, allocations: 3.253 MB / 1.072 GB, free: 4.328 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