Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001358/0.001358, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001423/0.001423, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.091/3.091, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002018/0.002018, allocations: 70.33 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3954, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002743/0.3981, allocations: 1.277 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003657/0.4018, allocations: 2.375 MB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.4018, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.4018, allocations: 3.938 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.4019, allocations: 7.922 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.4025, allocations: 135.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.4026, allocations: 35.86 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.4026, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.4026, allocations: 19.97 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.4027, allocations: 15.92 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.4027, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.403, allocations: 107.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.403, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.403, allocations: 7.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.4033, allocations: 87.72 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4033, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4033, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.4033, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 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.0004503/0.4037, allocations: 278.2 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4038, allocations: 8.031 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.404, allocations: 20.91 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.4041, allocations: 114.5 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4041, allocations: 384 / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.4041, allocations: 8.375 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.4043, allocations: 157.4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.4043, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4043, allocations: 4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4044, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.4044, allocations: 11.94 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.405, allocations: 388.8 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.4052, allocations: 71.72 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.4052, allocations: 26.66 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.4052, allocations: 0 / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.4053, allocations: 46.5 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.4053, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006371/0.4059, allocations: 233.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.406, allocations: 106.8 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.4061, allocations: 97.8 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.4061, allocations: 29.7 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.4061, allocations: 92.02 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.4062, allocations: 27.75 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.4062, allocations: 29.95 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4064, allocations: 322.8 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.343e-05/0.4064, allocations: 15.98 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.4065, allocations: 49.16 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4067, allocations: 73.02 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4067, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001465/0.4068, allocations: 93.64 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4068, allocations: 5.719 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4068, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4068, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.4069, allocations: 19.98 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4069, allocations: 4 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.407, allocations: 7.953 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.407, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.029 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 0.0001284/0.4071, allocations: 122.9 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.4072, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.4072, allocations: 15.78 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4072, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4072, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4072, allocations: 7.922 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.4075, allocations: 125.2 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4075, allocations: 4 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.4076, allocations: 12 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4076, allocations: 0 / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.4076, allocations: 11.98 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4076, allocations: 0 / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4076, allocations: 3.938 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.4079, allocations: 330 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.408, allocations: 8.031 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.408, allocations: 8.422 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.4082, allocations: 0 / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.4082, allocations: 7.984 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.4082, allocations: 4 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.4083, allocations: 83.27 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4083, allocations: 0 / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003062/0.4086, allocations: 12 kB / 1.334 GB, free: 9.465 MB / 1.029 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.0001598/0.4087, allocations: 123.3 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.4089, allocations: 51.84 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4089, allocations: 3.938 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.4089, allocations: 15.94 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.4094, allocations: 11.98 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.4101, allocations: 358.6 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.4102, allocations: 67.34 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.4103, allocations: 15.44 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.4103, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of Templates: time 0.002499/0.4128, allocations: 0.8023 MB / 1.335 GB, free: 7.961 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.89388023596257]