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.001027/0.001026, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00116/0.00116, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.967/2.967, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.000423, allocations: 8.656 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3654, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004777/0.3702, allocations: 3.592 MB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3729, allocations: 2.245 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.3731, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.3734, allocations: 43.75 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3737, allocations: 95.41 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.375, allocations: 423.5 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.3754, allocations: 291.8 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.3755, allocations: 17.55 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.3757, allocations: 107.6 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.3759, allocations: 95.64 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.376, allocations: 8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007965/0.3768, allocations: 351.3 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.3768, allocations: 39.88 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.3769, allocations: 53.64 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.3774, allocations: 263.6 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3774, allocations: 4 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3774, allocations: 0 / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3774, allocations: 0 / 1.065 GB, free: 13.72 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.0007665/0.3782, allocations: 475.2 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3782, allocations: 8.031 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.3801, allocations: 183.5 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3804, allocations: 210.8 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.3804, allocations: 16.27 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.3804, allocations: 12 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.381, allocations: 304.2 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3811, allocations: 3.938 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.3811, allocations: 11.98 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.3811, allocations: 11.98 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.3818, allocations: 251.6 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.3833, allocations: 1.392 MB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.3839, allocations: 194.5 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3841, allocations: 76.81 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.3842, allocations: 11.98 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3842, allocations: 30.56 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.3842, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0006911/0.3849, allocations: 247.2 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.385, allocations: 55.41 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3851, allocations: 160.2 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3852, allocations: 33.7 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.3853, allocations: 132 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.3853, allocations: 59.11 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.3854, allocations: 4 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3855, allocations: 322.8 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3857, allocations: 64.42 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.386, allocations: 158.9 kB / 1.07 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.3862, allocations: 67.98 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3862, allocations: 0 / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005375/0.3868, allocations: 251 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3868, allocations: 8 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3868, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3868, allocations: 8 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.3872, allocations: 63.89 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3872, allocations: 7.984 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.3874, allocations: 35.98 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.3874, allocations: 11.98 kB / 1.07 GB, free: 8.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.3876, allocations: 133.7 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.3876, allocations: 15.81 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.3884, allocations: 232.3 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3884, allocations: 4 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3884, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3884, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.3887, allocations: 257.4 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3887, allocations: 0 / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.389, allocations: 39.97 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.389, allocations: 7.984 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.389, allocations: 4 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.389, allocations: 4 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.389, allocations: 0 / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.3896, allocations: 304.2 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.3898, allocations: 96.98 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.3898, allocations: 7.984 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3901, allocations: 19.98 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.3901, allocations: 19.92 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3901, allocations: 8 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.413e-05/0.3902, allocations: 115.5 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3902, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003614/0.3906, allocations: 67.84 kB / 1.071 GB, free: 7.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002479/0.3909, allocations: 143.3 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.3914, allocations: 177.3 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3914, allocations: 0.625 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.3917, allocations: 87.89 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.3922, allocations: 63.88 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3932, allocations: 0.4895 MB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3936, allocations: 0.7137 MB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.3939, allocations: 49.94 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/0.394, allocations: 23.42 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.394, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.007425/0.4015, allocations: 3.143 MB / 1.076 GB, free: 2.289 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