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.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.0009986/0.0009986, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009851/0.0009851, allocations: 167.8 kB / 24.87 MB, free: 9.207 MB / 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 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.796/1.796, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.593e-06/1.593e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.282e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00238/0.002402, allocations: 1.314 MB / 0.7896 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00326/0.005663, allocations: 2.586 MB / 0.7921 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.005701, allocations: 0 / 0.7921 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.005727, allocations: 7.922 kB / 0.7921 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.005776, allocations: 1.219 kB / 0.7921 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006365/0.006412, allocations: 136.1 kB / 0.7922 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.006493, allocations: 31.86 kB / 0.7923 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.006534, allocations: 9.016 kB / 0.7923 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.54e-05/0.006599, allocations: 23.97 kB / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.006675, allocations: 24.44 kB / 0.7923 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.006688, allocations: 0 / 0.7923 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.006934, allocations: 101.3 kB / 0.7924 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.006952, allocations: 15.92 kB / 0.7924 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.006977, allocations: 15.97 kB / 0.7924 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.007173, allocations: 84.94 kB / 0.7925 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.007175, allocations: 0 / 0.7925 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007176, allocations: 0 / 0.7925 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.00718, allocations: 4 kB / 0.7925 GB, free: 7.922 MB / 0.7448 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.0004042/0.007584, allocations: 375.2 kB / 0.7929 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.007638, allocations: 12.03 kB / 0.7929 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.007879, allocations: 29.11 kB / 0.7929 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.007979, allocations: 104.6 kB / 0.793 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.007996, allocations: 4.359 kB / 0.793 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.008024, allocations: 16.36 kB / 0.793 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.008194, allocations: 146.4 kB / 0.7932 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.008205, allocations: 0.9062 kB / 0.7932 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.008217, allocations: 8.125 kB / 0.7932 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.008225, allocations: 1.656 kB / 0.7932 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.008267, allocations: 15.92 kB / 0.7932 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.008908, allocations: 0.5061 MB / 0.7937 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.009078, allocations: 90.86 kB / 0.7938 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.009113, allocations: 31.19 kB / 0.7938 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.009124, allocations: 4 kB / 0.7938 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.009243, allocations: 46.53 kB / 0.7939 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/0.009244, allocations: 4 kB / 0.7939 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006307/0.009875, allocations: 223.4 kB / 0.7941 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.009936, allocations: 106.8 kB / 0.7942 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.01004, allocations: 165.9 kB / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.01005, allocations: 30.23 kB / 0.7944 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.01012, allocations: 132.5 kB / 0.7945 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.01015, allocations: 35.72 kB / 0.7945 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.01019, allocations: 27.38 kB / 0.7946 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01035, allocations: 0.4922 MB / 0.795 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.01037, allocations: 8 kB / 0.795 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.01043, allocations: 59.02 kB / 0.7951 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.467e-05/0.01052, allocations: 91.12 kB / 0.7952 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01052, allocations: 0.5938 kB / 0.7952 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000132/0.01066, allocations: 94.73 kB / 0.7953 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01067, allocations: 4 kB / 0.7953 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.01068, allocations: 8.516 kB / 0.7953 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01069, allocations: 1.375 kB / 0.7953 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.01076, allocations: 19.94 kB / 0.7953 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01077, allocations: 4 kB / 0.7953 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.01081, allocations: 0 / 0.7953 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.01082, allocations: 5.156 kB / 0.7953 GB, free: 4.715 MB / 0.7448 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.371e-05/0.01091, allocations: 164.6 kB / 0.7955 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.01097, allocations: 9 kB / 0.7955 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.011, allocations: 11.81 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01101, allocations: 0 / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.01101, allocations: 0.8125 kB / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01101, allocations: 0 / 0.7955 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.01131, allocations: 118.2 kB / 0.7956 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01132, allocations: 0 / 0.7956 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/0.0114, allocations: 27.92 kB / 0.7956 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.0114, allocations: 1.344 kB / 0.7956 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.01141, allocations: 7.938 kB / 0.7956 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01141, allocations: 0 / 0.7956 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.01141, allocations: 0.875 kB / 0.7956 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.01167, allocations: 462.2 kB / 0.7961 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.0117, allocations: 6.125 kB / 0.7961 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.01172, allocations: 7.938 kB / 0.7961 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.01186, allocations: 0 / 0.7961 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.01188, allocations: 11.92 kB / 0.7961 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.01189, allocations: 4 kB / 0.7961 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.01194, allocations: 123.5 kB / 0.7962 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01194, allocations: 0.5938 kB / 0.7962 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003628/0.0123, allocations: 15.44 kB / 0.7962 GB, free: 3.711 MB / 0.7448 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.0001308/0.01243, allocations: 115.3 kB / 0.7964 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.01252, allocations: 43.55 kB / 0.7964 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01252, allocations: 0 / 0.7964 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.01255, allocations: 32.16 kB / 0.7964 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01283, allocations: 10.59 kB / 0.7964 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.01338, allocations: 298.3 kB / 0.7967 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.01342, allocations: 55.36 kB / 0.7968 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.01345, allocations: 11.98 kB / 0.7968 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.01352, allocations: 90.19 kB / 0.7969 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01352, allocations: 0 / 0.7969 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of Templates: time 0.002295/0.01581, allocations: 0.7575 MB / 0.7976 GB, free: 2.305 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] 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","",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: 5.015415117610246]