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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001056/0.001056, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008234/0.008234, allocations: 173.8 kB / 16.27 MB, free: 6.676 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.871/2.871, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003365, allocations: 10.62 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3644, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005371/0.3698, allocations: 3.742 MB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003151/0.373, allocations: 2.426 MB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.195e-05/0.3731, allocations: 0 / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.3734, allocations: 39.8 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.3737, allocations: 87.48 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.375, allocations: 478.4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.3755, allocations: 343.7 kB / 1.066 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.3755, allocations: 13.56 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.3758, allocations: 99.62 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3759, allocations: 107.5 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.376, allocations: 12 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007807/0.3768, allocations: 455.1 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.3768, allocations: 39.88 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.377, allocations: 105.4 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.3776, allocations: 411.2 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3776, allocations: 3.938 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3776, allocations: 0 / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3776, allocations: 0 / 1.067 GB, free: 13.12 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.0008102/0.3784, allocations: 487.3 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3785, allocations: 8.031 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.3805, allocations: 176.5 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3808, allocations: 212.1 kB / 1.068 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.3808, allocations: 16.7 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.3809, allocations: 16.36 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.3816, allocations: 312.3 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3816, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.3817, allocations: 8 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.3817, allocations: 4 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/0.3826, allocations: 263.6 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.3847, allocations: 1.389 MB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.3854, allocations: 186.8 kB / 1.07 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.3857, allocations: 84.75 kB / 1.07 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3857, allocations: 4 kB / 1.07 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3857, allocations: 34.56 kB / 1.07 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3858, allocations: 3.938 kB / 1.07 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.000826/0.3866, allocations: 249.3 kB / 1.07 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.3866, allocations: 55.41 kB / 1.07 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3868, allocations: 158.2 kB / 1.07 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3869, allocations: 29.7 kB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.387, allocations: 128 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.387, allocations: 63.09 kB / 1.071 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.3871, allocations: 29.7 kB / 1.071 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3873, allocations: 318.8 kB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.3875, allocations: 72.36 kB / 1.071 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.3878, allocations: 142.3 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.3884, allocations: 218.6 kB / 1.071 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3884, allocations: 4 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006245/0.389, allocations: 250.5 kB / 1.072 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3891, allocations: 8 kB / 1.072 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3891, allocations: 4 kB / 1.072 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3891, allocations: 0 / 1.072 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.3895, allocations: 76.19 kB / 1.072 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3895, allocations: 8 kB / 1.072 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.3898, allocations: 31.73 kB / 1.072 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3898, allocations: 8 kB / 1.072 GB, free: 7.754 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.39, allocations: 133.7 kB / 1.072 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.39, allocations: 15.84 kB / 1.072 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.3907, allocations: 235.6 kB / 1.072 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3907, allocations: 4 kB / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3907, allocations: 0 / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3907, allocations: 0 / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.391, allocations: 253.4 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3911, allocations: 0 / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.3914, allocations: 47.95 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3914, allocations: 0 / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3914, allocations: 7.938 kB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.792e-05/0.3914, allocations: 4 kB / 1.072 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3914, allocations: 4 kB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.392, allocations: 292.4 kB / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3922, allocations: 104.9 kB / 1.073 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3922, allocations: 8 kB / 1.073 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.3925, allocations: 23.98 kB / 1.073 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.3926, allocations: 7.984 kB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.3926, allocations: 12 kB / 1.073 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.3927, allocations: 113.9 kB / 1.073 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3927, allocations: 0 / 1.073 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003913/0.3931, allocations: 67.92 kB / 1.073 GB, free: 6.348 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 (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.0002562/0.3934, allocations: 145.9 kB / 1.073 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005805/0.394, allocations: 183.2 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.394, allocations: 0 / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.3942, allocations: 93.42 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.3948, allocations: 62.56 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3958, allocations: 495.4 kB / 1.074 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3962, allocations: 0.7137 MB / 1.075 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003593/0.3965, allocations: 61.8 kB / 1.075 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.3966, allocations: 27.44 kB / 1.075 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3966, allocations: 0 / 1.075 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of Templates: time 0.007909/0.4046, allocations: 3.238 MB / 1.078 GB, free: 1.363 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