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.001072/0.001072, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002636, allocations: 449.8 kB / 10.44 MB, free: 252 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.000918/0.000918, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009984/0.001916, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1/1, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09384/1.094, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.773/1.773, allocations: 378.3 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4575/2.23, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 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.312e-06/1.312e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.383e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001568/0.001582, allocations: 1.361 MB / 0.731 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.003909, allocations: 2.629 MB / 0.7335 GB, free: 484 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.00393, allocations: 0 / 0.7335 GB, free: 484 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.758e-06/0.003939, allocations: 0 / 0.7335 GB, free: 484 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.553e-05/0.003965, allocations: 10.16 kB / 0.7335 GB, free: 476 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.004304, allocations: 124.9 kB / 0.7336 GB, free: 352 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.294e-05/0.004377, allocations: 40.81 kB / 0.7337 GB, free: 312 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.004409, allocations: 0 / 0.7337 GB, free: 312 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.004476, allocations: 35.89 kB / 0.7337 GB, free: 276 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.004537, allocations: 8.484 kB / 0.7337 GB, free: 268 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.004549, allocations: 5.594 kB / 0.7337 GB, free: 264 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.004754, allocations: 111.6 kB / 0.7338 GB, free: 152 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.004771, allocations: 4 kB / 0.7338 GB, free: 148 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.00479, allocations: 11.94 kB / 0.7339 GB, free: 136 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.004936, allocations: 68.66 kB / 0.7339 GB, free: 68 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.004948, allocations: 4 kB / 0.7339 GB, free: 64 kB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004948, allocations: 1.281 kB / 0.7339 GB, free: 64 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.004957, allocations: 0 / 0.7339 GB, free: 64 kB / 0.698 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.0003063/0.005263, allocations: 268.4 kB / 0.7342 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.005293, allocations: 13.69 kB / 0.7342 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.005481, allocations: 105.9 kB / 0.7343 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.203e-05/0.005543, allocations: 109.8 kB / 0.7344 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.005552, allocations: 4.375 kB / 0.7344 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.005574, allocations: 17.61 kB / 0.7344 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.005686, allocations: 141.9 kB / 0.7346 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.005692, allocations: 192 / 0.7346 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.005701, allocations: 8.781 kB / 0.7346 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.005705, allocations: 3.938 kB / 0.7346 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.005729, allocations: 13.11 kB / 0.7346 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.006036, allocations: 344.6 kB / 0.7349 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.00612, allocations: 72.56 kB / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.00614, allocations: 19.42 kB / 0.735 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.006147, allocations: 0 / 0.735 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.006167, allocations: 39.28 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.006168, allocations: 0 / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004122/0.00658, allocations: 240 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.006614, allocations: 110.8 kB / 0.7354 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.557e-05/0.00666, allocations: 108.5 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.006669, allocations: 25.7 kB / 0.7355 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.006701, allocations: 88.09 kB / 0.7356 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.00672, allocations: 35.72 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.006754, allocations: 21.72 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.00684, allocations: 320.2 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.00685, allocations: 8 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.006877, allocations: 45.09 kB / 0.736 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.006926, allocations: 75.48 kB / 0.7361 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.006927, allocations: 0 / 0.7361 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.841e-05/0.006995, allocations: 82.42 kB / 0.7361 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007007, allocations: 10.8 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007012, allocations: 4.531 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.007022, allocations: 1.797 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.007068, allocations: 20 kB / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.007072, allocations: 4 kB / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.007093, allocations: 0 / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007099, allocations: 8.75 kB / 0.7362 GB, free: 13.46 MB / 0.7136 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.677e-05/0.007146, allocations: 119 kB / 0.7363 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.007177, allocations: 11.94 kB / 0.7363 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.096e-05/0.007197, allocations: 7.812 kB / 0.7363 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.0072, allocations: 4.531 kB / 0.7363 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.007202, allocations: 3.984 kB / 0.7363 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007206, allocations: 0.75 kB / 0.7363 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.00737, allocations: 85.83 kB / 0.7364 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007372, allocations: 4.734 kB / 0.7364 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.007415, allocations: 16 kB / 0.7364 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.007433, allocations: 8.594 kB / 0.7364 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007436, allocations: 5.312 kB / 0.7364 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.007442, allocations: 8.047 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.007444, allocations: 4 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007445, allocations: 0 / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.007577, allocations: 316.5 kB / 0.7368 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.00759, allocations: 4 kB / 0.7368 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.007669, allocations: 7.938 kB / 0.7368 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.007683, allocations: 7.984 kB / 0.7368 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.007688, allocations: 0 / 0.7368 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.094e-05/0.007699, allocations: 8.859 kB / 0.7368 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007699, allocations: 2.875 kB / 0.7368 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000186/0.007885, allocations: 16 kB / 0.7368 GB, free: 12.79 MB / 0.7136 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 9.25e-05/0.007978, allocations: 88.34 kB / 0.7369 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.463e-05/0.008042, allocations: 41.47 kB / 0.7369 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.008047, allocations: 5.281 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.008068, allocations: 32.72 kB / 0.737 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.008292, allocations: 19.81 kB / 0.737 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/0.0092, allocations: 197.1 kB / 0.7372 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.009238, allocations: 59.34 kB / 0.7372 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.00927, allocations: 9.391 kB / 0.7372 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.009323, allocations: 63.38 kB / 0.7373 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.009324, allocations: 1.281 kB / 0.7373 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.01917/0.02849, allocations: 0.7794 MB / 0.7381 GB, free: 11.52 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck/Buildings_12_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_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] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 4.737856790423393]