Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.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.0007498/0.0007498, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001757/0.002507, 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.000997/0.000997, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.0023, 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.006/1.006, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08385/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.843/1.843, allocations: 378.4 MB / 0.6079 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5284/2.371, allocations: 123.3 MB / 0.7283 GB, free: 5.754 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.Examples.WaterDerivativeCheck,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.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,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.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.142e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001765/0.001787, allocations: 1.357 MB / 0.7309 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.004331, allocations: 3.377 MB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.00435, allocations: 0.6562 kB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.849e-06/0.00436, allocations: 8.984 kB / 0.7343 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.176e-05/0.004382, allocations: 7.922 kB / 0.7343 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.00469, allocations: 104.5 kB / 0.7344 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.004758, allocations: 41.56 kB / 0.7344 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.00479, allocations: 3.938 kB / 0.7344 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.004847, allocations: 27.91 kB / 0.7344 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.004906, allocations: 15.97 kB / 0.7344 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.004916, allocations: 0 / 0.7344 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.005066, allocations: 68.58 kB / 0.7345 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.00508, allocations: 4.5 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.005096, allocations: 11.94 kB / 0.7345 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.005228, allocations: 65.5 kB / 0.7346 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.005238, allocations: 0 / 0.7346 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005239, allocations: 0 / 0.7346 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.005249, allocations: 0 / 0.7346 GB, free: 15.41 MB / 0.7136 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.0003285/0.005578, allocations: 257.4 kB / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.005611, allocations: 12.03 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.005736, allocations: 95.02 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.846e-05/0.005804, allocations: 109.8 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.005813, allocations: 2.125 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.005835, allocations: 12.31 kB / 0.7351 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.005937, allocations: 131.3 kB / 0.7352 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.005943, allocations: 192 / 0.7352 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.005951, allocations: 4.125 kB / 0.7352 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.005955, allocations: 1.219 kB / 0.7352 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.005985, allocations: 19.97 kB / 0.7352 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.075e-05/0.006065, allocations: 65.03 kB / 0.7353 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.006123, allocations: 43.22 kB / 0.7353 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.006138, allocations: 16.86 kB / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.006484, allocations: 221.4 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.006507, allocations: 42.5 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.006508, allocations: 0.5625 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004073/0.006915, allocations: 231.9 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.006939, allocations: 51.41 kB / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.299e-05/0.006992, allocations: 106.6 kB / 0.7359 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.007001, allocations: 30.73 kB / 0.736 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.00704, allocations: 96.08 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.007051, allocations: 19.78 kB / 0.7361 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.00708, allocations: 30.62 kB / 0.7361 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.007152, allocations: 318.8 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-06/0.00716, allocations: 4 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.007193, allocations: 57.81 kB / 0.7365 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.987e-05/0.007243, allocations: 63.25 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.007244, allocations: 4 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.735e-05/0.007321, allocations: 82.72 kB / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007332, allocations: 4 kB / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.007343, allocations: 5.25 kB / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.007358, allocations: 0 / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.155e-05/0.007409, allocations: 27.92 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007414, allocations: 4 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.007433, allocations: 1.25 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.007441, allocations: 8.281 kB / 0.7367 GB, free: 13.03 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 5.168e-05/0.007492, allocations: 114.8 kB / 0.7368 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.007509, allocations: 11.94 kB / 0.7368 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.007534, allocations: 12.11 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007535, allocations: 0.5312 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.007538, allocations: 5.547 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007541, allocations: 0 / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.007664, allocations: 77.89 kB / 0.7369 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007664, allocations: 0 / 0.7369 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.00771, allocations: 16 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.007731, allocations: 12.95 kB / 0.7369 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.007732, allocations: 2.781 kB / 0.7369 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.007737, allocations: 0 / 0.7369 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.007739, allocations: 4 kB / 0.7369 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.00774, allocations: 0 / 0.7369 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.007846, allocations: 159.5 kB / 0.7371 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.007857, allocations: 7.938 kB / 0.7371 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.108e-05/0.007898, allocations: 4 kB / 0.7371 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.007911, allocations: 11.02 kB / 0.7371 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.007914, allocations: 0 / 0.7371 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.005e-05/0.007924, allocations: 8.859 kB / 0.7371 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007924, allocations: 0 / 0.7371 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001243/0.008048, allocations: 12 kB / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 8.096e-05/0.008129, allocations: 88.39 kB / 0.7372 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.008195, allocations: 45.97 kB / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.008199, allocations: 0.6562 kB / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.008217, allocations: 20.8 kB / 0.7373 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.008347, allocations: 19.2 kB / 0.7373 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.009181, allocations: 194.7 kB / 0.7375 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.009212, allocations: 63.2 kB / 0.7375 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.009246, allocations: 7.469 kB / 0.7375 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.009303, allocations: 67.36 kB / 0.7376 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.009304, allocations: 0.9375 kB / 0.7376 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.002042/0.01135, allocations: 0.7442 MB / 0.7383 GB, free: 11.29 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck/Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.WaterDerivativeCheck_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.915397770702839]