Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001865/0.001864, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002083/0.002083, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.544/1.544, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.914/2.914, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7274/0.7293, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006137/0.7355, allocations: 4.102 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.7387, allocations: 2.422 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.7389, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.7392, allocations: 43.8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.7395, allocations: 91.42 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.7409, allocations: 485.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.7412, allocations: 263.8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.234e-05/0.7413, allocations: 13.56 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.7415, allocations: 111.7 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.7417, allocations: 99.59 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.7417, allocations: 11.94 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000848/0.7426, allocations: 463.1 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.7426, allocations: 39.84 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.7428, allocations: 83.64 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.7435, allocations: 413 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.7435, allocations: 4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7435, allocations: 3.938 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7435, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 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.0009109/0.7445, allocations: 0.507 MB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.7445, allocations: 8.031 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.7466, allocations: 184.5 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.7469, allocations: 208.1 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.7469, allocations: 8.703 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.747, allocations: 16.38 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007423/0.7477, allocations: 316.4 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7477, allocations: 0 / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.7478, allocations: 15.98 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.7478, allocations: 8 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/0.7486, allocations: 259.6 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.7504, allocations: 1.373 MB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.7511, allocations: 194.4 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.7513, allocations: 76.81 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.7514, allocations: 7.984 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.7514, allocations: 34.56 kB / 1.028 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 3.367e-06/0.7514, allocations: 0 / 1.028 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008338/0.7522, allocations: 251.7 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.7523, allocations: 51.41 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7525, allocations: 168 kB / 1.029 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.7525, allocations: 29.7 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.7526, allocations: 124 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.7527, allocations: 63.11 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.7528, allocations: 53.83 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7529, allocations: 330.8 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.7532, allocations: 64.42 kB / 1.029 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.7535, allocations: 144.4 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.754, allocations: 213.2 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.754, allocations: 4 kB / 1.03 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006345/0.7546, allocations: 250.4 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7547, allocations: 8.312 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7547, allocations: 4 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7547, allocations: 4 kB / 1.03 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.7551, allocations: 63.89 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.7551, allocations: 7.984 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.7554, allocations: 35.67 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.7554, allocations: 11.94 kB / 1.03 GB, free: 4.656 MB / 0.7794 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.0001417/0.7556, allocations: 133.8 kB / 1.03 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.7557, allocations: 15.81 kB / 1.03 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/0.7564, allocations: 232.3 kB / 1.03 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.7564, allocations: 4 kB / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7564, allocations: 0 / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.7564, allocations: 0 / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.7567, allocations: 253.5 kB / 1.031 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7567, allocations: 3.938 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.7571, allocations: 55.89 kB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.7571, allocations: 0 / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.7571, allocations: 4 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7572, allocations: 0 / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7572, allocations: 0 / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.7578, allocations: 297.1 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.7579, allocations: 112.9 kB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.7579, allocations: 0 / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.7582, allocations: 19.98 kB / 1.031 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.7583, allocations: 7.984 kB / 1.031 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.7583, allocations: 12 kB / 1.031 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.587e-05/0.7584, allocations: 113.3 kB / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7584, allocations: 0 / 1.031 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004009/0.7588, allocations: 67.89 kB / 1.031 GB, free: 3.254 MB / 0.7794 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.0002477/0.7591, allocations: 139.7 kB / 1.032 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.7597, allocations: 196.4 kB / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7597, allocations: 0 / 1.032 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.76, allocations: 87.88 kB / 1.032 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.7605, allocations: 68.44 kB / 1.032 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.7617, allocations: 467 kB / 1.032 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.7621, allocations: 0.7173 MB / 1.033 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003831/0.7625, allocations: 49.92 kB / 1.033 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.7626, allocations: 27.42 kB / 1.033 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.7626, allocations: 0 / 1.033 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of Templates: time 0.008096/0.7707, allocations: 3.384 MB / 1.036 GB, free: 14.14 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches