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.001124/0.001124, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002716, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008775/0.0008775, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009606/0.001838, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9727/0.9727, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09227/1.065, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.906/1.906, allocations: 378.2 MB / 0.6077 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4842/2.391, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.874e-06/1.874e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.312e-05, allocations: 6.312 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00307/0.003093, allocations: 1.35 MB / 0.7306 GB, free: 3.211 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.006442, allocations: 2.632 MB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.006481, allocations: 0.6562 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.006496, allocations: 0.6875 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.516e-05/0.006531, allocations: 0 / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.007155, allocations: 129 kB / 0.7333 GB, free: 488 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.712e-05/0.007252, allocations: 44.67 kB / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.007305, allocations: 11.98 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.007397, allocations: 27.91 kB / 0.7334 GB, free: 404 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.007474, allocations: 12.53 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.007489, allocations: 5.188 kB / 0.7334 GB, free: 388 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.007799, allocations: 111.6 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.007814, allocations: 4 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.007836, allocations: 8.5 kB / 0.7335 GB, free: 264 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.008044, allocations: 72.69 kB / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.095e-05/0.008065, allocations: 0 / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.008067, allocations: 0 / 0.7336 GB, free: 192 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.008086, allocations: 0.875 kB / 0.7336 GB, free: 192 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.0004623/0.008548, allocations: 265.1 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.008589, allocations: 12.02 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002942/0.008883, allocations: 107.6 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.008976, allocations: 113.7 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.008991, allocations: 4.375 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.009019, allocations: 8.375 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.009174, allocations: 143.1 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.009183, allocations: 192 / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.009195, allocations: 8.125 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.009205, allocations: 0.875 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.009245, allocations: 23.89 kB / 0.7343 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.009699, allocations: 337.6 kB / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.009835, allocations: 72.23 kB / 0.7347 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.009858, allocations: 19.67 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.009867, allocations: 3.938 kB / 0.7347 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.009901, allocations: 46.64 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.009902, allocations: 0.6875 kB / 0.7347 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000601/0.0105, allocations: 228 kB / 0.7349 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.01056, allocations: 110.8 kB / 0.735 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.01063, allocations: 108.8 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.01064, allocations: 25.7 kB / 0.7352 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.01069, allocations: 88.09 kB / 0.7353 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.01071, allocations: 31.72 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.01075, allocations: 25.7 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01086, allocations: 322.8 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.01087, allocations: 8.688 kB / 0.7356 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.01091, allocations: 45.14 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.413e-05/0.01099, allocations: 66.59 kB / 0.7357 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01099, allocations: 1.938 kB / 0.7357 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001133/0.0111, allocations: 82.09 kB / 0.7358 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01112, allocations: 4 kB / 0.7358 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01112, allocations: 1.219 kB / 0.7358 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01114, allocations: 7.984 kB / 0.7358 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.01121, allocations: 23.94 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01121, allocations: 0.5 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.01125, allocations: 4.969 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.01126, allocations: 4 kB / 0.7359 GB, free: 13.59 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 7.222e-05/0.01133, allocations: 118.4 kB / 0.736 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.01139, allocations: 15.88 kB / 0.736 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.01142, allocations: 12.45 kB / 0.736 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01142, allocations: 5.969 kB / 0.736 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01143, allocations: 4 kB / 0.736 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01143, allocations: 0 / 0.736 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.01173, allocations: 85.84 kB / 0.7361 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01173, allocations: 0 / 0.7361 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.0118, allocations: 19.98 kB / 0.7361 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.01183, allocations: 10.69 kB / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01183, allocations: 3.938 kB / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.01184, allocations: 0 / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.01185, allocations: 7.984 kB / 0.7361 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01185, allocations: 0 / 0.7361 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.01207, allocations: 314 kB / 0.7364 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.01208, allocations: 4.062 kB / 0.7364 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.01223, allocations: 9.562 kB / 0.7364 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.01225, allocations: 7.984 kB / 0.7364 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.01226, allocations: 4 kB / 0.7365 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.277e-05/0.01227, allocations: 4.859 kB / 0.7365 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01227, allocations: 0.5 kB / 0.7365 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003191/0.01259, allocations: 19.12 kB / 0.7365 GB, free: 12.92 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 0.0001541/0.01274, allocations: 88.41 kB / 0.7366 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.01284, allocations: 48.7 kB / 0.7366 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/0.01285, allocations: 0 / 0.7366 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.01287, allocations: 23.23 kB / 0.7366 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.01327, allocations: 15.98 kB / 0.7366 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.01463, allocations: 204.2 kB / 0.7368 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.654e-05/0.01468, allocations: 56.52 kB / 0.7369 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.012e-05/0.01473, allocations: 11.42 kB / 0.7369 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.0148, allocations: 63.38 kB / 0.737 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of SimCode: time 1.292e-06/0.01481, allocations: 3.938 kB / 0.737 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of Templates: time 0.003124/0.01793, allocations: 0.8035 MB / 0.7378 GB, free: 11.64 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,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] 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.821784690022469]