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.0008215/0.0008215, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001193/0.002015, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007238/0.0007238, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009785/0.001702, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9134/0.9134, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08713/1, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.362/2.362, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2453/2.607, allocations: 146 MB / 0.8176 GB, free: 3.844 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8189 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.146e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002345/0.002366, allocations: 1.368 MB / 0.8202 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.004954, allocations: 2.619 MB / 0.8228 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.004973, allocations: 8 kB / 0.8228 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.947e-06/0.004982, allocations: 3.984 kB / 0.8228 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.293e-05/0.005005, allocations: 3.984 kB / 0.8228 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.00542, allocations: 135.1 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.005495, allocations: 43.84 kB / 0.823 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.993e-05/0.005525, allocations: 0 / 0.823 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.005592, allocations: 27.91 kB / 0.823 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.005658, allocations: 19.97 kB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.00567, allocations: 0 / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.00591, allocations: 111.7 kB / 0.8231 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.005925, allocations: 4 kB / 0.8231 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.005945, allocations: 8 kB / 0.8231 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.006126, allocations: 67.81 kB / 0.8232 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.006137, allocations: 0 / 0.8232 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006138, allocations: 4 kB / 0.8232 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.006151, allocations: 0 / 0.8232 GB, free: 14.09 MB / 0.8073 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.0003614/0.006513, allocations: 268.5 kB / 0.8235 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.006544, allocations: 12.03 kB / 0.8235 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.006764, allocations: 101.9 kB / 0.8236 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.1e-05/0.006835, allocations: 113.7 kB / 0.8237 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.006845, allocations: 384 / 0.8237 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.006872, allocations: 12.33 kB / 0.8237 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.007037, allocations: 145.9 kB / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.007044, allocations: 192 / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.007053, allocations: 12.06 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.007057, allocations: 0 / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.007085, allocations: 15.94 kB / 0.8239 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.007439, allocations: 336.7 kB / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.007533, allocations: 67.66 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.007556, allocations: 30.62 kB / 0.8243 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.007562, allocations: 0 / 0.8243 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.007585, allocations: 38.56 kB / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.007586, allocations: 0 / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0004666/0.008053, allocations: 241.3 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.008093, allocations: 110.8 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.008145, allocations: 102.7 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.008157, allocations: 29.64 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.008191, allocations: 92.08 kB / 0.8249 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.008211, allocations: 23.75 kB / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.008247, allocations: 29.69 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.008328, allocations: 318.9 kB / 0.8252 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.008339, allocations: 4 kB / 0.8252 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.008377, allocations: 53.12 kB / 0.8253 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.00844, allocations: 73.11 kB / 0.8253 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.008441, allocations: 4 kB / 0.8253 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.957e-05/0.008531, allocations: 73.48 kB / 0.8254 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.008541, allocations: 8.125 kB / 0.8254 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008547, allocations: 4 kB / 0.8254 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.008558, allocations: 0 / 0.8254 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.008621, allocations: 31.92 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.008626, allocations: 4 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.008655, allocations: 0 / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.00866, allocations: 4 kB / 0.8255 GB, free: 11.47 MB / 0.8073 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 5.458e-05/0.008715, allocations: 121.7 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.008762, allocations: 11.92 kB / 0.8256 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.008787, allocations: 8.422 kB / 0.8256 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.008789, allocations: 8 kB / 0.8256 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.008791, allocations: 0 / 0.8256 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008794, allocations: 0 / 0.8256 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.009214, allocations: 85.88 kB / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.009216, allocations: 0 / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.009279, allocations: 19.98 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.009305, allocations: 15.88 kB / 0.8257 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.009309, allocations: 3.938 kB / 0.8257 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.009316, allocations: 4 kB / 0.8257 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.009319, allocations: 3.984 kB / 0.8257 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00932, allocations: 0 / 0.8257 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.009488, allocations: 318 kB / 0.826 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.009498, allocations: 0 / 0.826 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.009626, allocations: 7.938 kB / 0.826 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.009641, allocations: 11.98 kB / 0.8261 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.009647, allocations: 0 / 0.8261 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.123e-05/0.009658, allocations: 12.84 kB / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009658, allocations: 0 / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002779/0.009936, allocations: 16 kB / 0.8261 GB, free: 10.79 MB / 0.8073 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.0001159/0.01005, allocations: 91.23 kB / 0.8262 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.831e-05/0.01014, allocations: 44.77 kB / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.01015, allocations: 4 kB / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.01017, allocations: 24.8 kB / 0.8262 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.01054, allocations: 19.98 kB / 0.8263 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.0118, allocations: 210.4 kB / 0.8265 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.898e-05/0.01185, allocations: 59.34 kB / 0.8265 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.723e-05/0.0119, allocations: 8 kB / 0.8265 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.01197, allocations: 67.36 kB / 0.8266 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of SimCode: time 7.12e-07/0.01197, allocations: 0 / 0.8266 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.002687/0.01466, allocations: 0.7777 MB / 0.8273 GB, free: 9.484 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 5.159418105147779]