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.0009582/0.0009582, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00146/0.00146, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9766/0.9766, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.429/2.429, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.653e-06/1.653e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.824e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002334/0.002353, allocations: 1.364 MB / 0.8399 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003087/0.005439, allocations: 2.612 MB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.005471, allocations: 0 / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.00549, allocations: 0 / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.848e-05/0.005538, allocations: 7.922 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.006072, allocations: 131.2 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.006148, allocations: 39.84 kB / 0.8426 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.006181, allocations: 4 kB / 0.8426 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.006246, allocations: 27.95 kB / 0.8427 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.006313, allocations: 11.98 kB / 0.8427 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.006324, allocations: 0 / 0.8427 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.006587, allocations: 115.6 kB / 0.8428 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.006604, allocations: 11.92 kB / 0.8428 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.006626, allocations: 11.98 kB / 0.8428 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.006796, allocations: 79.83 kB / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006797, allocations: 0 / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.006798, allocations: 0 / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.006801, allocations: 4 kB / 0.8429 GB, free: 9.73 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.0002901/0.007092, allocations: 256.4 kB / 0.8431 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.007125, allocations: 8.625 kB / 0.8432 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.007327, allocations: 24.8 kB / 0.8432 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.11e-05/0.007388, allocations: 113.7 kB / 0.8433 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.007398, allocations: 4.375 kB / 0.8433 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.007415, allocations: 12.33 kB / 0.8433 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.007517, allocations: 141.9 kB / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.007523, allocations: 192 / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.007531, allocations: 8.125 kB / 0.8434 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.007535, allocations: 4 kB / 0.8434 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.007558, allocations: 19.92 kB / 0.8435 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.007858, allocations: 336.7 kB / 0.8438 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.007935, allocations: 71.72 kB / 0.8439 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.007952, allocations: 22.58 kB / 0.8439 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-06/0.007958, allocations: 0 / 0.8439 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.00798, allocations: 42.55 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.00798, allocations: 0 / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.000405/0.008385, allocations: 241.2 kB / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.008419, allocations: 106.8 kB / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.008467, allocations: 106.7 kB / 0.8444 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.008476, allocations: 25.7 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.008507, allocations: 88.09 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.008523, allocations: 39.91 kB / 0.8445 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.00855, allocations: 21.72 kB / 0.8445 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.008626, allocations: 318.8 kB / 0.8448 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.008636, allocations: 7.984 kB / 0.8448 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.008666, allocations: 53.08 kB / 0.8449 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.008715, allocations: 61.06 kB / 0.8449 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.008716, allocations: 0 / 0.8449 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.181e-05/0.008788, allocations: 81.48 kB / 0.845 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.008798, allocations: 8 kB / 0.845 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.008802, allocations: 0 / 0.845 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.008813, allocations: 4 kB / 0.845 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.008859, allocations: 23.92 kB / 0.8451 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.008864, allocations: 4 kB / 0.8451 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.008884, allocations: 0 / 0.8451 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.008889, allocations: 4 kB / 0.8451 GB, free: 7.23 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 4.97e-05/0.008938, allocations: 117.8 kB / 0.8452 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.008978, allocations: 16.05 kB / 0.8452 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.008998, allocations: 7.812 kB / 0.8452 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.008999, allocations: 4 kB / 0.8452 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.009001, allocations: 0 / 0.8452 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.009004, allocations: 0 / 0.8452 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.009187, allocations: 85.88 kB / 0.8453 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.009189, allocations: 4 kB / 0.8453 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.009235, allocations: 15.98 kB / 0.8453 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.009236, allocations: 0 / 0.8453 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.009242, allocations: 4 kB / 0.8453 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.009244, allocations: 3.938 kB / 0.8453 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.009245, allocations: 4 kB / 0.8453 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.009475, allocations: 326.5 kB / 0.8456 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.009494, allocations: 7.938 kB / 0.8456 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.009502, allocations: 0 / 0.8456 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.009587, allocations: 11.94 kB / 0.8456 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.009599, allocations: 8.031 kB / 0.8456 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.009604, allocations: 3.984 kB / 0.8457 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.584e-06/0.009611, allocations: 8.859 kB / 0.8457 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009612, allocations: 0 / 0.8457 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001789/0.00979, allocations: 16 kB / 0.8457 GB, free: 6.551 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 7.663e-05/0.009867, allocations: 92.34 kB / 0.8458 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.196e-05/0.009929, allocations: 44.77 kB / 0.8458 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.009932, allocations: 3.938 kB / 0.8458 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.009947, allocations: 20.8 kB / 0.8458 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.01017, allocations: 12.36 kB / 0.8458 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.01059, allocations: 234.3 kB / 0.8461 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.01063, allocations: 59.34 kB / 0.8461 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.01066, allocations: 15.84 kB / 0.8461 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.01072, allocations: 63.36 kB / 0.8462 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.01072, allocations: 0 / 0.8462 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of Templates: time 0.002227/0.01294, allocations: 0.7632 MB / 0.8469 GB, free: 5.238 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/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_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] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2838038061745465]