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.001534/0.001534, allocations: 102.5 kB / 16.27 MB, free: 6 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.001845/0.001845, allocations: 195 kB / 17.2 MB, free: 5.605 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.446/2.446, allocations: 437 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 64.09 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2869, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002564/0.2895, allocations: 1.263 MB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.2928, allocations: 2.5 MB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.2929, allocations: 0 / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.2929, allocations: 0 / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.293, allocations: 7.922 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.2936, allocations: 127.3 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.2937, allocations: 51.78 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.2938, allocations: 3.984 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.2938, allocations: 12 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.2939, allocations: 19.91 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2939, allocations: 4 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2942, allocations: 115.7 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.2943, allocations: 11.98 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.2943, allocations: 15.92 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.2945, allocations: 84.06 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2945, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2946, allocations: 4 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2946, allocations: 0 / 1.022 GB, free: 6.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004101/0.295, allocations: 345.6 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.295, allocations: 8.922 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.2953, allocations: 12.92 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2954, allocations: 176.2 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2954, allocations: 384 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.2954, allocations: 16.27 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2956, allocations: 76.33 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2956, allocations: 0 / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2956, allocations: 4 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2956, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.2957, allocations: 15.86 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.2963, allocations: 466.9 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.2964, allocations: 71.66 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.2965, allocations: 22.7 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.2965, allocations: 4 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2965, allocations: 38.5 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2965, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006212/0.2971, allocations: 302.2 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.2972, allocations: 103.1 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.2973, allocations: 109.8 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2973, allocations: 29.7 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.2974, allocations: 88.05 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.2974, allocations: 23.64 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.2974, allocations: 29.62 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2976, allocations: 318.8 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.2976, allocations: 12.05 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.2977, allocations: 61.14 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.735e-05/0.2978, allocations: 77.53 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2978, allocations: 4 kB / 1.024 GB, free: 3.688 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.2979, allocations: 93.55 kB / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2979, allocations: 4 kB / 1.024 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2979, allocations: 4 kB / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.298, allocations: 3.984 kB / 1.024 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.777e-05/0.2981, allocations: 16 kB / 1.024 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2981, allocations: 4 kB / 1.024 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.808e-05/0.2981, allocations: 0 / 1.024 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2981, allocations: 4.125 kB / 1.024 GB, free: 3.555 MB / 0.795 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 9.147e-05/0.2982, allocations: 128.1 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.2983, allocations: 11.89 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.2983, allocations: 11.5 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2983, allocations: 4 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2984, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2984, allocations: 0 / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.2987, allocations: 181.6 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2987, allocations: 4 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.2988, allocations: 19.92 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2988, allocations: 4 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2988, allocations: 4 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2988, allocations: 0 / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2989, allocations: 3.938 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.2991, allocations: 326.1 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.2992, allocations: 85.02 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.2992, allocations: 4 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2994, allocations: 11.98 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.2994, allocations: 4 kB / 1.025 GB, free: 2.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.2994, allocations: 3.938 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.2995, allocations: 79.28 kB / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2995, allocations: 0 / 1.025 GB, free: 2.594 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003305/0.2998, allocations: 16 kB / 1.025 GB, free: 2.578 MB / 0.795 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.0001402/0.2999, allocations: 111.2 kB / 1.025 GB, free: 2.461 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.3001, allocations: 47.92 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3001, allocations: 0 / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.3001, allocations: 23.94 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3006, allocations: 11.98 kB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.3012, allocations: 370.9 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3015, allocations: 0.6846 MB / 1.027 GB, free: 1.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3015, allocations: 11.44 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.3015, allocations: 0 / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of Templates: time 0.002194/0.3037, allocations: 0.7959 MB / 1.027 GB, free: 480 kB / 0.795 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/jenkins1/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