Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002911/0.002911, allocations: 190.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.928/1.928, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.91 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7864, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002522/0.7889, allocations: 1.272 MB / 1.275 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.7924, allocations: 2.532 MB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.7924, allocations: 4 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.7924, allocations: 4 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.582e-05/0.7925, allocations: 7.922 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.793, allocations: 131.4 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.7931, allocations: 31.92 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.7931, allocations: 3.984 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.7931, allocations: 23.88 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.064e-05/0.7932, allocations: 23.91 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.7932, allocations: 4 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.7935, allocations: 115.8 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.7935, allocations: 7.984 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.7936, allocations: 19.94 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.7938, allocations: 82.44 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7938, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7938, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7938, allocations: 0 / 1.278 GB, free: 312 kB / 0.9669 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.0004827/0.7943, allocations: 359.3 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.7943, allocations: 8.031 kB / 1.279 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.7945, allocations: 16.92 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.7947, allocations: 172.3 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.7947, allocations: 384 / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.7947, allocations: 8.375 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.7949, allocations: 68.38 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7949, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.7949, allocations: 12 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.7949, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.7949, allocations: 11.88 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.7956, allocations: 462.9 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.7958, allocations: 75.72 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.7958, allocations: 26.66 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.7958, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.7959, allocations: 38.56 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.7959, allocations: 4 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006719/0.7965, allocations: 306.2 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.7966, allocations: 106.8 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.7967, allocations: 93.86 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.7967, allocations: 29.7 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.7968, allocations: 92.34 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.7968, allocations: 31.72 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.7968, allocations: 29.66 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.797, allocations: 326.7 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.797, allocations: 12 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.7971, allocations: 57.08 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.7972, allocations: 77.58 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.7972, allocations: 0 / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.7973, allocations: 97.59 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.7973, allocations: 8.031 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7974, allocations: 0 / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.7974, allocations: 4 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.7975, allocations: 23.92 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7975, allocations: 4 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.7975, allocations: 4 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.7975, allocations: 4 kB / 1.281 GB, free: 13.43 MB / 0.9825 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.919e-05/0.7976, allocations: 117.8 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.7977, allocations: 4 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.7977, allocations: 11.56 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7977, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7977, allocations: 4 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7977, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.7981, allocations: 185.5 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7981, allocations: 0 / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.7982, allocations: 19.98 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7982, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.7982, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7982, allocations: 4 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7982, allocations: 4 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.7985, allocations: 337.9 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.7985, allocations: 89.09 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.7986, allocations: 7.938 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.7987, allocations: 0 / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.7987, allocations: 8 kB / 1.281 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.7988, allocations: 19.98 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.7988, allocations: 79.28 kB / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7988, allocations: 0 / 1.281 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003199/0.7991, allocations: 12 kB / 1.281 GB, free: 12.45 MB / 0.9825 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.0001495/0.7993, allocations: 106.7 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.7994, allocations: 47.86 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7994, allocations: 0 / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.7995, allocations: 15.98 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.7999, allocations: 10.03 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.8006, allocations: 348.2 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.8009, allocations: 0.6846 MB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.652e-05/0.801, allocations: 7.984 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.801, allocations: 11.44 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.801, allocations: 4 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.003588/0.8046, allocations: 0.662 MB / 1.283 GB, free: 10.54 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.044576358050108]