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.001809/0.001809, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001984/0.001984, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.533/2.533, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.52 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3052, 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.002528/0.3078, allocations: 1.266 MB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.3111, allocations: 2.497 MB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.3111, allocations: 4 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.3111, allocations: 3.938 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.3112, allocations: 3.984 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.3118, allocations: 135.3 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.3118, allocations: 35.8 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3119, allocations: 4 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.3119, allocations: 19.97 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.312, allocations: 15.94 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.312, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.3123, allocations: 123.7 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3124, allocations: 7.984 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.3124, allocations: 19.92 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3126, allocations: 80.06 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3126, allocations: 4 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3126, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3126, allocations: 0 / 1.022 GB, free: 6.41 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.000451/0.3131, allocations: 345.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3131, allocations: 12.62 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.3134, allocations: 12.94 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3135, allocations: 172.3 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.3135, allocations: 384 / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3136, allocations: 12.27 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3137, allocations: 80.31 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3137, allocations: 0 / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3138, allocations: 4 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3138, allocations: 0 / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.3138, allocations: 15.94 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.3145, allocations: 462.9 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3146, allocations: 75.59 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.3147, allocations: 18.7 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.3147, allocations: 8 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3147, allocations: 42.56 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3147, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006474/0.3154, allocations: 302.1 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3154, allocations: 106.8 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.3155, allocations: 101.8 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3156, allocations: 29.7 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.3156, allocations: 84.05 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3156, allocations: 27.64 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.3157, allocations: 33.88 kB / 1.024 GB, free: 4.195 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3158, allocations: 322.8 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.3159, allocations: 16.06 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.3159, allocations: 53.14 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3161, allocations: 77.53 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3161, allocations: 0 / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000141/0.3162, allocations: 97.52 kB / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3162, allocations: 8 kB / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3162, allocations: 0 / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3163, allocations: 8.125 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.3163, allocations: 16 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3164, allocations: 0 / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.3164, allocations: 11.98 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3164, allocations: 4 kB / 1.025 GB, free: 3.543 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.143e-05/0.3165, allocations: 121.7 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.3166, allocations: 3.906 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.3166, allocations: 11.56 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3166, allocations: 0 / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3166, allocations: 7.938 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3166, allocations: 4 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.317, allocations: 177.6 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.317, allocations: 0 / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.3171, allocations: 15.98 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3171, allocations: 4 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3171, allocations: 0 / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3171, allocations: 0 / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3171, allocations: 7.938 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.3174, allocations: 330 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.3175, allocations: 85.02 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3175, allocations: 8.031 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3177, allocations: 0 / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.3177, allocations: 4 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3177, allocations: 11.94 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.3178, allocations: 83.27 kB / 1.025 GB, free: 2.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.974e-06/0.3178, allocations: 0 / 1.025 GB, free: 2.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003192/0.3181, allocations: 19.94 kB / 1.025 GB, free: 2.57 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.000128/0.3182, allocations: 99.25 kB / 1.025 GB, free: 2.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.3184, allocations: 51.92 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3184, allocations: 4.25 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.3184, allocations: 23.92 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3189, allocations: 8 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.0006651/0.3195, allocations: 370.1 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3199, allocations: 0.6832 MB / 1.027 GB, free: 1.273 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.3199, allocations: 11.44 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3199, allocations: 4 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of Templates: time 0.002577/0.3225, allocations: 0.7915 MB / 1.027 GB, free: 484 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=400 -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