Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.0008447/0.0008447, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002085, allocations: 449.8 kB / 10.44 MB, free: 248 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.001113/0.001113, allocations: 161.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001591/0.002704, allocations: 479.5 kB / 11.82 MB, free: 2.34 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.9824/0.9824, allocations: 177.2 MB / 189.8 MB, free: 5.27 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09458/1.077, allocations: 53.66 MB / 243.4 MB, free: 15.53 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.822/1.822, allocations: 378.4 MB / 0.6079 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5011/2.324, allocations: 123.3 MB / 0.7283 GB, free: 5.746 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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.[0-9,]+.|cp.[0-9,]+.|lambda.[0-9,]+.|eta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7296 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.387e-05, allocations: 6.797 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001919/0.001942, allocations: 1.503 MB / 0.7311 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.004366, allocations: 3.001 MB / 0.734 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.004402, allocations: 0 / 0.734 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.004433, allocations: 12.75 kB / 0.734 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.545e-05/0.004508, allocations: 40.3 kB / 0.7341 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.00492, allocations: 192.6 kB / 0.7343 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.005115, allocations: 255.5 kB / 0.7345 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.005149, allocations: 8.859 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.005263, allocations: 123.8 kB / 0.7346 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.005366, allocations: 113 kB / 0.7347 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.005389, allocations: 12 kB / 0.7348 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.005671, allocations: 155.7 kB / 0.7349 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.005731, allocations: 77.58 kB / 0.735 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.005784, allocations: 51.94 kB / 0.735 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.006027, allocations: 259.2 kB / 0.7353 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.006037, allocations: 0 / 0.7353 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.82e-07/0.006037, allocations: 0 / 0.7353 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.00605, allocations: 1.219 kB / 0.7353 GB, free: 14.71 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005711/0.006621, allocations: 0.4894 MB / 0.7358 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.006651, allocations: 8.031 kB / 0.7358 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.00691, allocations: 110.5 kB / 0.7359 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.007089, allocations: 166.6 kB / 0.736 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.007124, allocations: 20.36 kB / 0.736 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.007144, allocations: 12.38 kB / 0.7361 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.007389, allocations: 187.2 kB / 0.7362 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.007396, allocations: 192 / 0.7362 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.00741, allocations: 8.125 kB / 0.7362 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.007416, allocations: 4 kB / 0.7362 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.007704, allocations: 289.2 kB / 0.7365 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.007883, allocations: 150.2 kB / 0.7367 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.008383, allocations: 414.5 kB / 0.7371 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.008466, allocations: 69.58 kB / 0.7371 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.008707, allocations: 92.67 kB / 0.7372 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.008735, allocations: 38.5 kB / 0.7373 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.008737, allocations: 0.6562 kB / 0.7373 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0003399/0.009077, allocations: 208.2 kB / 0.7375 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.009103, allocations: 55.41 kB / 0.7375 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.009168, allocations: 126.6 kB / 0.7376 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.009186, allocations: 29.7 kB / 0.7377 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.009209, allocations: 88.78 kB / 0.7377 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.009286, allocations: 132.1 kB / 0.7379 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.009347, allocations: 61.64 kB / 0.7379 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.00943, allocations: 326.8 kB / 0.7382 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.009494, allocations: 47.81 kB / 0.7383 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.009569, allocations: 43.91 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.009697, allocations: 115.8 kB / 0.7384 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009699, allocations: 1.25 kB / 0.7384 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001813/0.00988, allocations: 153.3 kB / 0.7386 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.009897, allocations: 9.031 kB / 0.7386 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.009903, allocations: 6.938 kB / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.009917, allocations: 0 / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.01015, allocations: 111.8 kB / 0.7387 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.01015, allocations: 4 kB / 0.7387 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01025, allocations: 62.7 kB / 0.7388 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.01027, allocations: 8 kB / 0.7388 GB, free: 10.96 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.372e-05/0.01034, allocations: 124.6 kB / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.01037, allocations: 27.97 kB / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.01062, allocations: 209.5 kB / 0.7391 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01062, allocations: 4 kB / 0.7391 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01062, allocations: 0 / 0.7391 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.01063, allocations: 12.58 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.01078, allocations: 153.7 kB / 0.7393 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01079, allocations: 1.656 kB / 0.7393 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.01098, allocations: 115.8 kB / 0.7394 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.011, allocations: 22.22 kB / 0.7394 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.011, allocations: 4 kB / 0.7394 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01101, allocations: 7.984 kB / 0.7394 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01101, allocations: 0 / 0.7394 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.01101, allocations: 0 / 0.7394 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.01121, allocations: 210.3 kB / 0.7396 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.01123, allocations: 10.58 kB / 0.7396 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.01132, allocations: 35.97 kB / 0.7397 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.01139, allocations: 47.91 kB / 0.7397 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.01141, allocations: 11.98 kB / 0.7397 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.954e-05/0.01143, allocations: 20.78 kB / 0.7397 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01143, allocations: 0.9375 kB / 0.7397 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002269/0.01166, allocations: 111.8 kB / 0.7399 GB, free: 9.809 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.0002507/0.01191, allocations: 187.2 kB / 0.74 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.01213, allocations: 160.8 kB / 0.7402 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.01214, allocations: 7.984 kB / 0.7402 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01227, allocations: 131.1 kB / 0.7403 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.01264, allocations: 383.4 kB / 0.7407 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.01503, allocations: 363.4 kB / 0.741 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.15e-05/0.01508, allocations: 89.78 kB / 0.7411 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.01524, allocations: 77.2 kB / 0.7412 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.01544, allocations: 129.3 kB / 0.7413 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/0.01544, allocations: 0 / 0.7413 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of Templates: time 0.007531/0.02297, allocations: 6.647 MB / 0.7478 GB, free: 1.801 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.107599646784365]