Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002116/0.002116, 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.002523/0.002523, allocations: 193.8 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.627/2.627, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7779, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002573/0.7806, allocations: 1.33 MB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003269/0.7839, allocations: 2.503 MB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.7839, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.7839, allocations: 3.984 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.784, allocations: 7.938 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.7845, allocations: 115.5 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.7846, allocations: 27.92 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.7846, allocations: 4 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.7847, allocations: 23.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.7848, allocations: 19.92 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.7848, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.7851, allocations: 111.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.7852, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.7852, allocations: 19.92 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.7854, allocations: 85.73 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7854, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7854, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.7855, allocations: 0 / 1.021 GB, free: 14.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003971/0.7859, allocations: 351.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7859, allocations: 8.031 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.7861, allocations: 20.86 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.7863, allocations: 164.4 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.7863, allocations: 384 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.7863, allocations: 20.27 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.7865, allocations: 72.31 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7865, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.7865, allocations: 8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7865, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.7866, allocations: 7.984 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.7872, allocations: 474.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.7873, allocations: 75.75 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.7874, allocations: 26.7 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.7874, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.7874, allocations: 34.56 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.7874, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006059/0.788, allocations: 302.3 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.7881, allocations: 114.7 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.7882, allocations: 101.8 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.7882, allocations: 29.7 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.7882, allocations: 88.03 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.7883, allocations: 23.66 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.7883, allocations: 29.7 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.7885, allocations: 314.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.7885, allocations: 19.98 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.7886, allocations: 53.14 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/0.7887, allocations: 73.61 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.7887, allocations: 3.938 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001517/0.7889, allocations: 97.48 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7889, allocations: 5.562 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7889, allocations: 7.938 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7889, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.789, allocations: 19.98 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.789, allocations: 4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.7891, allocations: 8.125 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7891, allocations: 4 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.999e-05/0.7892, allocations: 122.2 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.7892, allocations: 7.906 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.7893, allocations: 11.55 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7893, allocations: 4 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7893, allocations: 4.062 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7893, allocations: 0 / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.7896, allocations: 181.5 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7897, allocations: 8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.7897, allocations: 12 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7898, allocations: 3.984 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.7898, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7898, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7898, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.7901, allocations: 334 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.7901, allocations: 89.05 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.7901, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.7903, allocations: 4 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.7904, allocations: 7.984 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.7904, allocations: 7.938 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.7904, allocations: 79.28 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7904, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003201/0.7907, allocations: 19.94 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001224/0.7909, allocations: 111.2 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.791, allocations: 43.92 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.791, allocations: 0 / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.791, allocations: 19.94 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.7915, allocations: 7.953 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.7922, allocations: 362 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.7927, allocations: 0.6848 MB / 1.025 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.466e-05/0.7928, allocations: 8 kB / 1.025 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.7928, allocations: 11.44 kB / 1.025 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.7928, allocations: 0 / 1.025 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of Templates: time 0.002997/0.7958, allocations: 0.6167 MB / 1.026 GB, free: 8.785 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches