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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007211/0.007211, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001496/0.001496, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 71.88 kB / 1.065 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8907, allocations: 159.1 MB / 1.221 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005033/0.8957, allocations: 4.053 MB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.8983, allocations: 2.43 MB / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.8984, allocations: 0 / 1.227 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.8986, allocations: 47.67 kB / 1.227 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.8989, allocations: 103.3 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.9, allocations: 0.5337 MB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.9003, allocations: 263.8 kB / 1.228 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.9003, allocations: 9.5 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.9005, allocations: 115.6 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.9006, allocations: 91.66 kB / 1.228 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.9006, allocations: 8 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007141/0.9014, allocations: 463.2 kB / 1.229 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.9014, allocations: 39.83 kB / 1.229 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.9015, allocations: 83.64 kB / 1.229 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.9021, allocations: 411.2 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9021, allocations: 4 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9021, allocations: 0 / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5e-06/0.9021, allocations: 0 / 1.229 GB, free: 9.426 MB / 0.9512 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.0006956/0.9028, allocations: 0.5142 MB / 1.23 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.9028, allocations: 8.031 kB / 1.23 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.9048, allocations: 180.6 kB / 1.23 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.905, allocations: 216.1 kB / 1.23 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.9051, allocations: 12.7 kB / 1.23 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.9051, allocations: 16.38 kB / 1.23 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.9057, allocations: 312.3 kB / 1.23 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9058, allocations: 0 / 1.23 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.9058, allocations: 8 kB / 1.23 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.9058, allocations: 7.938 kB / 1.23 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.9065, allocations: 264.1 kB / 1.231 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.9081, allocations: 1.389 MB / 1.232 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.9087, allocations: 178.4 kB / 1.232 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.9089, allocations: 80.84 kB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.909, allocations: 3.938 kB / 1.232 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.909, allocations: 34.56 kB / 1.232 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.909, allocations: 0 / 1.232 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0007508/0.9097, allocations: 247 kB / 1.232 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.9098, allocations: 59.41 kB / 1.233 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.9099, allocations: 153.1 kB / 1.233 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.9099, allocations: 33.7 kB / 1.233 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.91, allocations: 128.2 kB / 1.233 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.9101, allocations: 63.47 kB / 1.233 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.9102, allocations: 53.89 kB / 1.233 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.9103, allocations: 322.8 kB / 1.233 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.9105, allocations: 68.41 kB / 1.233 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.9107, allocations: 138.3 kB / 1.233 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.9112, allocations: 223.8 kB / 1.234 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.9112, allocations: 4 kB / 1.234 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005644/0.9117, allocations: 253.2 kB / 1.234 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9118, allocations: 7.938 kB / 1.234 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9118, allocations: 4 kB / 1.234 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9118, allocations: 4 kB / 1.234 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.9122, allocations: 64.2 kB / 1.234 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.9122, allocations: 11.94 kB / 1.234 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.9124, allocations: 31.81 kB / 1.234 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.9124, allocations: 8 kB / 1.234 GB, free: 4.008 MB / 0.9512 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.0001084/0.9125, allocations: 136.6 kB / 1.234 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.9126, allocations: 15.91 kB / 1.234 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.9132, allocations: 229.2 kB / 1.234 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9132, allocations: 4 kB / 1.234 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9132, allocations: 8 kB / 1.234 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.9132, allocations: 3.984 kB / 1.234 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.9135, allocations: 241.4 kB / 1.235 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9135, allocations: 3.984 kB / 1.235 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.9138, allocations: 43.91 kB / 1.235 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9138, allocations: 4 kB / 1.235 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.9138, allocations: 4 kB / 1.235 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9138, allocations: 0 / 1.235 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.9138, allocations: 4 kB / 1.235 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.9144, allocations: 299.2 kB / 1.235 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.9145, allocations: 104.9 kB / 1.235 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.9145, allocations: 8 kB / 1.235 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.9148, allocations: 15.98 kB / 1.235 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.9148, allocations: 15.92 kB / 1.235 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.9149, allocations: 15.98 kB / 1.235 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.9149, allocations: 109.9 kB / 1.235 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.9149, allocations: 0 / 1.235 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003564/0.9153, allocations: 67.92 kB / 1.235 GB, free: 2.609 MB / 0.9512 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.000202/0.9155, allocations: 139.1 kB / 1.235 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.916, allocations: 174 kB / 1.236 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.916, allocations: 4 kB / 1.236 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.9162, allocations: 86.11 kB / 1.236 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.9167, allocations: 59.83 kB / 1.236 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.9176, allocations: 414.9 kB / 1.236 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.9179, allocations: 0.7177 MB / 1.237 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000232/0.9181, allocations: 53.92 kB / 1.237 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.9182, allocations: 27.42 kB / 1.237 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.9182, allocations: 0 / 1.237 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of Templates: time 0.006707/0.9249, allocations: 3.436 MB / 1.24 GB, free: 13.5 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches