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.001568/0.001568, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001891/0.001891, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.426/2.426, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 72.78 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2575, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00548/0.263, allocations: 4.049 MB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.2657, allocations: 2.418 MB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.2659, allocations: 3.938 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.2662, allocations: 43.69 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.2665, allocations: 107.3 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.2679, allocations: 0.5262 MB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.2682, allocations: 263.9 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.2682, allocations: 5.562 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.2684, allocations: 127.5 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2686, allocations: 91.66 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.2686, allocations: 8 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008778/0.2695, allocations: 451.2 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.2696, allocations: 35.89 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2697, allocations: 87.64 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007258/0.2704, allocations: 411.2 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2705, allocations: 0 / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.156e-06/0.2705, allocations: 4 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2705, allocations: 0 / 1.026 GB, free: 2.016 MB / 0.795 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.0007353/0.2712, allocations: 0.4993 MB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2713, allocations: 8.922 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.2733, allocations: 188.5 kB / 1.027 GB, free: 1.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.2735, allocations: 208.1 kB / 1.027 GB, free: 1.035 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2736, allocations: 12.7 kB / 1.027 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.2736, allocations: 16.36 kB / 1.027 GB, free: 1.008 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.2743, allocations: 312.4 kB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2743, allocations: 0 / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/0.2743, allocations: 8 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.2744, allocations: 7.984 kB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007263/0.2751, allocations: 263.6 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.2767, allocations: 1.385 MB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.2773, allocations: 200 kB / 1.029 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.2776, allocations: 83.31 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2776, allocations: 4 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.2777, allocations: 38.56 kB / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.2777, allocations: 0 / 1.029 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0008042/0.2785, allocations: 241.3 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2785, allocations: 59.34 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2787, allocations: 156.7 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.2787, allocations: 29.7 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.2788, allocations: 132 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.2788, allocations: 63.09 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.2789, allocations: 53.83 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.279, allocations: 326.8 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.2793, allocations: 68.36 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.2795, allocations: 146.3 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.28, allocations: 219.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2801, allocations: 4 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006025/0.2807, allocations: 249.1 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2807, allocations: 8 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2807, allocations: 4 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2807, allocations: 4.312 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.2811, allocations: 63.89 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2811, allocations: 11.92 kB / 1.031 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.2814, allocations: 23.84 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.2814, allocations: 11.98 kB / 1.031 GB, free: 12.6 MB / 0.8106 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.0001183/0.2815, allocations: 137.7 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.715e-05/0.2816, allocations: 15.81 kB / 1.031 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006525/0.2822, allocations: 230.7 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2822, allocations: 4 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2823, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2823, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2825, allocations: 249.3 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2825, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.2829, allocations: 43.91 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2829, allocations: 4 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2829, allocations: 3.984 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2829, allocations: 4 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2829, allocations: 0 / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.2835, allocations: 297.1 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.2836, allocations: 108.9 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.2836, allocations: 4 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.2839, allocations: 23.97 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.284, allocations: 7.984 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.284, allocations: 12 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.215e-05/0.2841, allocations: 122 kB / 1.032 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2841, allocations: 0 / 1.032 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003577/0.2845, allocations: 56 kB / 1.033 GB, free: 11.2 MB / 0.8106 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.0002024/0.2847, allocations: 143.3 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005718/0.2852, allocations: 200.3 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2853, allocations: 4 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.2855, allocations: 81.61 kB / 1.033 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.286, allocations: 67.81 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.287, allocations: 433 kB / 1.033 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.2873, allocations: 0.7134 MB / 1.034 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.2874, allocations: 27.42 kB / 1.034 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.2874, allocations: 0 / 1.034 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of Templates: time 0.005082/0.2925, allocations: 2.929 MB / 1.037 GB, free: 6.586 MB / 0.8106 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=480 -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/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