Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001759/0.001759, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002012/0.002012, allocations: 209.3 kB / 22.99 MB, free: 4.957 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.329/3.329, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PropyleneGlycolWater,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_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [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.002114/0.002114, allocations: 70.67 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3718, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002964/0.3748, allocations: 1.388 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004156/0.3789, allocations: 2.77 MB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.379, allocations: 3.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.764e-05/0.3791, allocations: 7.984 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.3792, allocations: 35.81 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.3799, allocations: 191.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.3801, allocations: 243.5 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.3802, allocations: 7.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3803, allocations: 87.86 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.3805, allocations: 135.6 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.3805, allocations: 16 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.3809, allocations: 147.8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.381, allocations: 91.81 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3811, allocations: 79.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.3815, allocations: 271.1 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3815, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3815, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3815, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 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.0009001/0.3824, allocations: 477.1 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3824, allocations: 8.031 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3826, allocations: 20.78 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.3829, allocations: 178.3 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.3829, allocations: 32.36 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.3829, allocations: 12.38 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/0.3836, allocations: 297.6 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3837, allocations: 3.984 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.3837, allocations: 8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3837, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.3852, allocations: 0.7256 MB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.3856, allocations: 228.8 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.3873, allocations: 0.6402 MB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.3878, allocations: 208.7 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/0.3881, allocations: 87.94 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3881, allocations: 38.56 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.804e-06/0.3881, allocations: 0 / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001724/0.3898, allocations: 0.6546 MB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3899, allocations: 55.41 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.39, allocations: 127.4 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.39, allocations: 33.7 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.3901, allocations: 92.8 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.3902, allocations: 130.9 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3903, allocations: 61.69 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3905, allocations: 330.8 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004913/0.391, allocations: 187.8 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.3915, allocations: 211.6 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.3924, allocations: 357.2 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3924, allocations: 0 / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001142/0.3936, allocations: 468.4 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3936, allocations: 7.938 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3936, allocations: 0 / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3936, allocations: 4 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.394, allocations: 99.86 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.394, allocations: 3.938 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.3942, allocations: 55.73 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.3942, allocations: 11.98 kB / 1.338 GB, free: 5.527 MB / 1.029 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.0001496/0.3944, allocations: 142.3 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.3944, allocations: 23.84 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.3957, allocations: 0.5092 MB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3957, allocations: 4 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3957, allocations: 0 / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3957, allocations: 11.94 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.396, allocations: 233 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.396, allocations: 0 / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.3964, allocations: 99.84 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3964, allocations: 7.984 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.3964, allocations: 15.92 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3964, allocations: 0 / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3964, allocations: 0 / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3976, allocations: 0.4965 MB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.3976, allocations: 15.84 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.3977, allocations: 19.94 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3979, allocations: 35.95 kB / 1.34 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.3981, allocations: 119.8 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3981, allocations: 11.98 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.008e-05/0.3982, allocations: 95.27 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3982, allocations: 0 / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004085/0.3986, allocations: 119.7 kB / 1.34 GB, free: 3.52 MB / 1.029 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.0003592/0.399, allocations: 198.8 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.4001, allocations: 451.3 kB / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4001, allocations: 0 / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.4007, allocations: 252.3 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.4011, allocations: 75.92 kB / 1.341 GB, free: 2.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.4019, allocations: 431.6 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.402, allocations: 114.5 kB / 1.341 GB, free: 1.973 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000429/0.4025, allocations: 180 kB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.4026, allocations: 43.41 kB / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4026, allocations: 0 / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of Templates: time 0.01128/0.4138, allocations: 5.808 MB / 1.347 GB, free: 12.06 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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: 9.518706757007749]