Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.728/1.728, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.568/3.568, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.23 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3967, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002933/0.3996, allocations: 1.274 MB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004049/0.4036, allocations: 2.376 MB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.4037, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.4037, allocations: 3.984 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.4038, allocations: 3.938 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.4045, allocations: 139.4 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.4046, allocations: 31.86 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.4047, allocations: 7.984 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.4047, allocations: 15.98 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.4048, allocations: 19.91 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.4048, allocations: 0 / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.4051, allocations: 103.8 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.4052, allocations: 8 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.4052, allocations: 23.91 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.4055, allocations: 83.73 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4055, allocations: 0 / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.128e-06/0.4055, allocations: 3.984 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4055, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 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.0004757/0.4059, allocations: 274.2 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.406, allocations: 8.031 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.4062, allocations: 16.88 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4064, allocations: 114.5 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4064, allocations: 384 / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4064, allocations: 12.38 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.4067, allocations: 157.4 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4067, allocations: 0 / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.4067, allocations: 0 / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4067, allocations: 0 / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.392e-05/0.4068, allocations: 15.92 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.4075, allocations: 388.8 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.4077, allocations: 71.81 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.4078, allocations: 22.64 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4078, allocations: 4 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4078, allocations: 38.5 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.4078, allocations: 0 / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006694/0.4085, allocations: 229.1 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/0.4086, allocations: 106.8 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.4087, allocations: 109.8 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4087, allocations: 25.7 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.4088, allocations: 84.09 kB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.4088, allocations: 28 kB / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.4089, allocations: 33.7 kB / 1.369 GB, free: 7.488 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.409, allocations: 322.8 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.409, allocations: 11.98 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.094e-05/0.4091, allocations: 57.08 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4092, allocations: 77.53 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4092, allocations: 0 / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001624/0.4094, allocations: 97.5 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4094, allocations: 4 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4094, allocations: 4 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4094, allocations: 0 / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.4095, allocations: 23.98 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4095, allocations: 4 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.4096, allocations: 0 / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4096, allocations: 4 kB / 1.37 GB, free: 6.844 MB / 1.061 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.543e-05/0.4097, allocations: 121.7 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.4097, allocations: 12.08 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.4098, allocations: 15.73 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4098, allocations: 3.938 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4098, allocations: 0 / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4098, allocations: 3.938 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.4101, allocations: 121.2 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4101, allocations: 4 kB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.724e-05/0.4102, allocations: 19.98 kB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4102, allocations: 0 / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.4102, allocations: 4 kB / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4102, allocations: 0 / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4102, allocations: 7.938 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.4106, allocations: 326 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.4106, allocations: 11.95 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4106, allocations: 4 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4108, allocations: 4.031 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.4108, allocations: 4 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4108, allocations: 8.062 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.4109, allocations: 79.27 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4109, allocations: 4 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000325/0.4112, allocations: 11.94 kB / 1.371 GB, free: 6.031 MB / 1.061 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.0002171/0.4114, allocations: 115.3 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.4116, allocations: 47.86 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4116, allocations: 0 / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.4116, allocations: 15.92 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.4121, allocations: 12 kB / 1.371 GB, free: 5.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.4129, allocations: 341.1 kB / 1.371 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.614e-05/0.413, allocations: 71.34 kB / 1.371 GB, free: 5.375 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.246e-05/0.413, allocations: 7.984 kB / 1.371 GB, free: 5.367 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.413, allocations: 15.44 kB / 1.371 GB, free: 5.355 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.413, allocations: 0 / 1.371 GB, free: 5.355 MB / 1.061 GB Notification: Performance of Templates: time 0.003999/0.417, allocations: 0.6695 MB / 1.372 GB, free: 4.73 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.849658804014325]