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.001464/0.001464, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001788/0.001788, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9898/0.9898, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0.875 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.038e-05, allocations: 3.719 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001633/0.001654, allocations: 1.326 MB / 0.7613 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.003826, allocations: 2.618 MB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.003853, allocations: 0 / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.003869, allocations: 1.781 kB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.003912, allocations: 7.922 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.004346, allocations: 136.5 kB / 0.764 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.004409, allocations: 35.84 kB / 0.764 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.00444, allocations: 6.062 kB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.233e-05/0.004493, allocations: 27.91 kB / 0.764 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.004543, allocations: 11.97 kB / 0.7641 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.004554, allocations: 4 kB / 0.7641 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.004738, allocations: 107.7 kB / 0.7642 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.004751, allocations: 8.672 kB / 0.7642 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.004769, allocations: 12 kB / 0.7642 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.004934, allocations: 84.64 kB / 0.7643 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004937, allocations: 0 / 0.7643 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004938, allocations: 0 / 0.7643 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004943, allocations: 0.6562 kB / 0.7643 GB, free: 2.34 MB / 0.7136 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.0003175/0.005261, allocations: 258.3 kB / 0.7645 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.005301, allocations: 8.031 kB / 0.7645 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.005484, allocations: 33.08 kB / 0.7645 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.101e-05/0.005555, allocations: 105.8 kB / 0.7646 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.005567, allocations: 5.562 kB / 0.7647 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.005592, allocations: 12.31 kB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.005729, allocations: 141.9 kB / 0.7648 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005737, allocations: 192 / 0.7648 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.005746, allocations: 8.656 kB / 0.7648 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005752, allocations: 0.9062 kB / 0.7648 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.005781, allocations: 11.94 kB / 0.7648 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.006196, allocations: 337.2 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.006497, allocations: 76.44 kB / 0.7652 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.006517, allocations: 20.55 kB / 0.7652 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.006526, allocations: 0 / 0.7652 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.006555, allocations: 42.5 kB / 0.7653 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.006557, allocations: 0 / 0.7653 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005398/0.007096, allocations: 243.8 kB / 0.7655 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.007143, allocations: 110.8 kB / 0.7656 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.007201, allocations: 108.4 kB / 0.7657 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.007213, allocations: 25.7 kB / 0.7657 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.007252, allocations: 88.09 kB / 0.7658 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.007271, allocations: 23.75 kB / 0.7658 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.007305, allocations: 29.69 kB / 0.7659 GB, free: 472 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.007388, allocations: 319.8 kB / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.007401, allocations: 4 kB / 0.7662 GB, free: 140 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.007436, allocations: 53.83 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.703e-05/0.007513, allocations: 72.61 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007515, allocations: 0 / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.167e-05/0.007597, allocations: 73.48 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.00761, allocations: 8 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007616, allocations: 64 / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.007631, allocations: 10.44 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.00769, allocations: 27.92 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.007695, allocations: 4 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.007724, allocations: 3.953 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.00773, allocations: 4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 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 6.5e-05/0.007795, allocations: 113.8 kB / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.007829, allocations: 13.17 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.007861, allocations: 7.812 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.007864, allocations: 4 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.007867, allocations: 4.812 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007871, allocations: 0 / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.008075, allocations: 86.48 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.008076, allocations: 1.156 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.008125, allocations: 19.98 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.008127, allocations: 0 / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.008134, allocations: 3.375 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.008138, allocations: 7.938 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008139, allocations: 0 / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.008331, allocations: 314 kB / 0.767 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.008357, allocations: 8.031 kB / 0.767 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.00837, allocations: 3.984 kB / 0.767 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.008454, allocations: 7.938 kB / 0.767 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.00847, allocations: 7.984 kB / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.008477, allocations: 7.5 kB / 0.767 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.128e-05/0.008488, allocations: 4.859 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008488, allocations: 0 / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000185/0.008673, allocations: 16 kB / 0.767 GB, free: 15.19 MB / 0.7292 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.0001297/0.008803, allocations: 88.36 kB / 0.7671 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.465e-05/0.008887, allocations: 51.59 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.008891, allocations: 0 / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.008908, allocations: 20.84 kB / 0.7672 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.009159, allocations: 8 kB / 0.7672 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.00975, allocations: 244.5 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.962e-05/0.00979, allocations: 62.11 kB / 0.7675 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.009826, allocations: 13.5 kB / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.009882, allocations: 63.38 kB / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.009883, allocations: 1.062 kB / 0.7676 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.002398/0.01228, allocations: 0.7436 MB / 0.7683 GB, free: 13.95 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] 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","",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: 4.962165141943842]