Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001302/0.001302, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 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.001467/0.001467, allocations: 208.3 kB / 22.99 MB, free: 4.965 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.218/3.218, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 66.75 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002788/0.3655, allocations: 1.391 MB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3695, allocations: 2.756 MB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.68e-05/0.3696, allocations: 3.938 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.418e-05/0.3697, allocations: 3.984 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.3698, allocations: 39.81 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.3705, allocations: 195.1 kB / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.3707, allocations: 243.5 kB / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.3708, allocations: 7.938 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3709, allocations: 91.8 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3711, allocations: 119.8 kB / 1.369 GB, free: 8.691 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.3711, allocations: 15.94 kB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.3715, allocations: 147.7 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3716, allocations: 87.77 kB / 1.37 GB, free: 8.445 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.3717, allocations: 87.7 kB / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.3722, allocations: 279 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3722, allocations: 4 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3722, allocations: 0 / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3722, allocations: 0 / 1.37 GB, free: 8.082 MB / 1.061 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.0008959/0.3731, allocations: 469.2 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3731, allocations: 11.97 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.3732, allocations: 20.83 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3736, allocations: 182.3 kB / 1.371 GB, free: 7.359 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.3736, allocations: 28.36 kB / 1.371 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.3736, allocations: 12.38 kB / 1.371 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.3743, allocations: 293 kB / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3743, allocations: 4 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.3744, allocations: 4 kB / 1.371 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3744, allocations: 8 kB / 1.371 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.3759, allocations: 0.7256 MB / 1.372 GB, free: 6.285 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3763, allocations: 228.8 kB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3779, allocations: 0.644 MB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.3784, allocations: 212.7 kB / 1.373 GB, free: 5.164 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/0.3788, allocations: 79.94 kB / 1.373 GB, free: 5.086 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3788, allocations: 38.56 kB / 1.373 GB, free: 5.039 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/0.3788, allocations: 0 / 1.373 GB, free: 5.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001722/0.3805, allocations: 0.666 MB / 1.373 GB, free: 4.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3806, allocations: 55.41 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3807, allocations: 124.6 kB / 1.374 GB, free: 4.172 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.3807, allocations: 33.7 kB / 1.374 GB, free: 4.133 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.3808, allocations: 84.8 kB / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.3809, allocations: 134.9 kB / 1.374 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.381, allocations: 65.67 kB / 1.374 GB, free: 3.844 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3812, allocations: 326.8 kB / 1.374 GB, free: 3.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/0.3817, allocations: 195.8 kB / 1.374 GB, free: 3.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.3822, allocations: 195.8 kB / 1.375 GB, free: 3.133 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009182/0.3831, allocations: 365 kB / 1.375 GB, free: 2.773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3831, allocations: 0 / 1.375 GB, free: 2.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001134/0.3842, allocations: 468.6 kB / 1.375 GB, free: 2.309 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3843, allocations: 7.938 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3843, allocations: 8 kB / 1.375 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.3843, allocations: 0 / 1.375 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.3847, allocations: 99.84 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3847, allocations: 0 / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.3849, allocations: 51.78 kB / 1.376 GB, free: 2.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3849, allocations: 8 kB / 1.376 GB, free: 2.137 MB / 1.061 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 0.0001528/0.3851, allocations: 149.8 kB / 1.376 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.3851, allocations: 19.84 kB / 1.376 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3863, allocations: 0.5105 MB / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3864, allocations: 7.984 kB / 1.376 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3864, allocations: 3.938 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3864, allocations: 3.984 kB / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3867, allocations: 229.1 kB / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.3867, allocations: 0 / 1.376 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.387, allocations: 91.86 kB / 1.377 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.387, allocations: 8 kB / 1.377 GB, free: 1.074 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3871, allocations: 19.92 kB / 1.377 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3871, allocations: 3.938 kB / 1.377 GB, free: 1.051 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3871, allocations: 0 / 1.377 GB, free: 1.051 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3882, allocations: 0.4962 MB / 1.377 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3882, allocations: 19.8 kB / 1.377 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.3883, allocations: 11.94 kB / 1.377 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.3885, allocations: 35.95 kB / 1.377 GB, free: 480 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.3887, allocations: 119.8 kB / 1.377 GB, free: 360 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.3887, allocations: 12 kB / 1.377 GB, free: 348 kB / 1.061 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.3888, allocations: 103.2 kB / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3888, allocations: 0 / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004055/0.3892, allocations: 119.8 kB / 1.377 GB, free: 124 kB / 1.061 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.0003539/0.3896, allocations: 191 kB / 1.378 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.3907, allocations: 451.6 kB / 1.378 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3907, allocations: 0 / 1.378 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/0.3913, allocations: 252 kB / 1.378 GB, free: 15.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3917, allocations: 75.92 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/0.3925, allocations: 464.3 kB / 1.379 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3926, allocations: 118.5 kB / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3928, allocations: 55.39 kB / 1.379 GB, free: 14.48 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/0.3928, allocations: 0 / 1.379 GB, free: 14.48 MB / 1.076 GB Notification: Performance of Templates: time 0.007981/0.4008, allocations: 4.836 MB / 1.384 GB, free: 9.711 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.807255552150309]