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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001308/0.001308, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.8686 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4644, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004498/0.469, allocations: 4.122 MB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.4712, allocations: 2.446 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.4713, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.4715, allocations: 47.72 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.4718, allocations: 95.47 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.4727, allocations: 483.3 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.473, allocations: 335.8 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.4731, allocations: 13.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.4732, allocations: 115.5 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.4733, allocations: 91.66 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4734, allocations: 8 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.4741, allocations: 463.1 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.4741, allocations: 39.89 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.4742, allocations: 79.64 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.4748, allocations: 413.2 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4748, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4748, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.4748, allocations: 4 kB / 1.025 GB, free: 10.04 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.0006252/0.4754, allocations: 0.5071 MB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.4755, allocations: 8.031 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.4755, allocations: 50.73 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.4774, allocations: 188.5 kB / 1.026 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.4776, allocations: 208.1 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.4777, allocations: 12.7 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.4777, allocations: 16.38 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.4783, allocations: 304.2 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4783, allocations: 0 / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.4784, allocations: 8 kB / 1.026 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.4784, allocations: 7.984 kB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.479, allocations: 263.6 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.4805, allocations: 1.385 MB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.4811, allocations: 190.5 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.4813, allocations: 76.81 kB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4814, allocations: 4 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.4814, allocations: 38.5 kB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.4814, allocations: 0 / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007007/0.4821, allocations: 247.8 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.4821, allocations: 55.41 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4823, allocations: 156.3 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.4823, allocations: 33.7 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.4824, allocations: 128 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.4824, allocations: 59.11 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.4825, allocations: 61.83 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4826, allocations: 326.8 kB / 1.029 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.4828, allocations: 60.42 kB / 1.029 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.4831, allocations: 144.1 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.4835, allocations: 211.1 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4835, allocations: 8 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005395/0.484, allocations: 257 kB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4841, allocations: 4 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4841, allocations: 4.312 kB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.4841, allocations: 8 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.4844, allocations: 63.89 kB / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.4845, allocations: 7.984 kB / 1.03 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.4847, allocations: 27.78 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.4847, allocations: 15.98 kB / 1.03 GB, free: 4.574 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.0001081/0.4848, allocations: 129.7 kB / 1.03 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.4849, allocations: 23.81 kB / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/0.4855, allocations: 230.6 kB / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4855, allocations: 0 / 1.031 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4855, allocations: 3.938 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4856, allocations: 3.984 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.4858, allocations: 253.5 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4858, allocations: 0 / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.4861, allocations: 43.97 kB / 1.031 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4862, allocations: 4 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.4862, allocations: 7.984 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4862, allocations: 4 kB / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4862, allocations: 0 / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.4867, allocations: 301 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.4868, allocations: 108.8 kB / 1.031 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.4869, allocations: 4 kB / 1.031 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.4872, allocations: 23.97 kB / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.4872, allocations: 7.984 kB / 1.031 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.4872, allocations: 12 kB / 1.031 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.4873, allocations: 112.9 kB / 1.031 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4873, allocations: 0 / 1.031 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000335/0.4876, allocations: 60 kB / 1.031 GB, free: 3.168 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.0008322/0.4885, allocations: 0.8769 MB / 1.032 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.489, allocations: 184.3 kB / 1.032 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.489, allocations: 0 / 1.032 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.4892, allocations: 87.88 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.4897, allocations: 56.7 kB / 1.033 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.4926, allocations: 2.203 MB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.4929, allocations: 0.7134 MB / 1.035 GB, free: 14.87 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.4932, allocations: 53.92 kB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4933, allocations: 49.53 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.4933, allocations: 0 / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.434/0.9273, allocations: 4.891 MB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/0.9277, allocations: 240.8 kB / 1.041 GB, free: 9.812 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.799, allocations: 0 / 1.041 GB, free: 9.812 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > 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/jenkins1/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