Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001342/0.001342, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001246/0.001246, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.146/2.146, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6851, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00434/0.6895, allocations: 4.04 MB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.6918, allocations: 2.438 MB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.6918, allocations: 1.688 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.6921, allocations: 49.92 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.6923, allocations: 103.2 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.6934, allocations: 0.5334 MB / 1.096 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.6937, allocations: 257.8 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.6938, allocations: 14.16 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.694, allocations: 117.5 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.6941, allocations: 95.92 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.6942, allocations: 8.406 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.695, allocations: 455 kB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.6951, allocations: 40.48 kB / 1.097 GB, free: 156 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.6952, allocations: 87.52 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.6959, allocations: 404.1 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6959, allocations: 0 / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6959, allocations: 1.125 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.696, allocations: 0 / 1.097 GB, free: 15.98 MB / 0.8731 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.0008285/0.6968, allocations: 0.509 MB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6968, allocations: 12.12 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.6989, allocations: 172 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.6993, allocations: 215.5 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.6993, allocations: 11.95 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.6994, allocations: 18.16 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.7001, allocations: 315.4 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7001, allocations: 0.5 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.7001, allocations: 8.062 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.7002, allocations: 5.125 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.7009, allocations: 263.3 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.7026, allocations: 1.385 MB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.7033, allocations: 190.7 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.7035, allocations: 80.59 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.7036, allocations: 15.55 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.7036, allocations: 37.39 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.7036, allocations: 0 / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.0008062/0.7044, allocations: 238 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.7045, allocations: 58.58 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.7046, allocations: 165.3 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.7046, allocations: 27.39 kB / 1.101 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.7047, allocations: 127.8 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.7048, allocations: 59.41 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.7049, allocations: 46.42 kB / 1.101 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.705, allocations: 326.6 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.7052, allocations: 68.52 kB / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.7055, allocations: 143.4 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.706, allocations: 221.4 kB / 1.102 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.706, allocations: 5.062 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006357/0.7066, allocations: 258.6 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7067, allocations: 6.562 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7067, allocations: 5.844 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.7067, allocations: 5.281 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.7071, allocations: 62.23 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.7071, allocations: 4.219 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.7074, allocations: 37.09 kB / 1.102 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.7074, allocations: 10.97 kB / 1.102 GB, free: 12.31 MB / 0.8731 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.0001234/0.7075, allocations: 135.5 kB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.7076, allocations: 11.72 kB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.7083, allocations: 231.7 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7083, allocations: 1.812 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7083, allocations: 0.75 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.7084, allocations: 113.3 kB / 1.102 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.7084, allocations: 5.797 kB / 1.102 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.7087, allocations: 13.72 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.7088, allocations: 18.66 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007625/0.7095, allocations: 287.4 kB / 1.103 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005959/0.7101, allocations: 373.7 kB / 1.103 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002276/0.7104, allocations: 82.31 kB / 1.103 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.7105, allocations: 122.3 kB / 1.103 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of Backend: time 5.61e-07/0.7105, allocations: 0 / 1.103 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.7116, allocations: 392.2 kB / 1.104 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008783/0.7125, allocations: 0.7961 MB / 1.104 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.01164/0.7242, allocations: 6.191 MB / 1.111 GB, free: 9.82 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches