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.001663/0.001663, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002463/0.002463, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 7.766 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.334/3.334, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 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.002151/0.002151, allocations: 65.86 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3848, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002693/0.3875, allocations: 1.393 MB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.3917, allocations: 2.766 MB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.3918, allocations: 3.938 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3919, allocations: 3.984 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.392, allocations: 35.81 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.3928, allocations: 191.1 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.3931, allocations: 243.5 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.476e-05/0.3932, allocations: 7.938 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3933, allocations: 91.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3935, allocations: 123.7 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.3935, allocations: 12 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.394, allocations: 151.8 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3941, allocations: 95.75 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3942, allocations: 79.72 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.3946, allocations: 271.1 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3946, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3946, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.3947, allocations: 0 / 1.331 GB, free: 12.43 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.001022/0.3957, allocations: 477.1 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3957, allocations: 8.031 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3959, allocations: 16.84 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.3962, allocations: 184.9 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.3963, allocations: 24.36 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.3963, allocations: 12.38 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.397, allocations: 297.6 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.397, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.3971, allocations: 7.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3971, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.3987, allocations: 0.7256 MB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.3991, allocations: 228.8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.4008, allocations: 0.645 MB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.4013, allocations: 208.7 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/0.4017, allocations: 79.95 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.4017, allocations: 42.56 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 2.565e-06/0.4017, allocations: 0 / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001734/0.4035, allocations: 0.6546 MB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4035, allocations: 63.34 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4036, allocations: 122.1 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.4037, allocations: 33.7 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.4037, allocations: 92.73 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4038, allocations: 138.8 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.404, allocations: 65.69 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4041, allocations: 322.8 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.4046, allocations: 195.8 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/0.4051, allocations: 207.6 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/0.406, allocations: 356.5 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.406, allocations: 0 / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00112/0.4071, allocations: 469 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4071, allocations: 7.938 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4071, allocations: 0 / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.4072, allocations: 4 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.4076, allocations: 95.86 kB / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4076, allocations: 0 / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.4078, allocations: 59.73 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.4078, allocations: 15.98 kB / 1.336 GB, free: 6.469 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.0001482/0.4079, allocations: 142.3 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.408, allocations: 19.84 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.4092, allocations: 0.5102 MB / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.4093, allocations: 4 kB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4093, allocations: 0 / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4093, allocations: 0 / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.4096, allocations: 233 kB / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4096, allocations: 4 kB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.4099, allocations: 99.84 kB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.4099, allocations: 4 kB / 1.337 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.41, allocations: 15.92 kB / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.41, allocations: 0 / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.41, allocations: 3.938 kB / 1.337 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.4111, allocations: 0.4927 MB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.4112, allocations: 15.84 kB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.4112, allocations: 11.94 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4114, allocations: 47.95 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.4116, allocations: 115.8 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.4117, allocations: 11.98 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.574e-05/0.4117, allocations: 103.1 kB / 1.338 GB, free: 4.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4117, allocations: 3.938 kB / 1.338 GB, free: 4.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004099/0.4121, allocations: 123.7 kB / 1.338 GB, free: 4.461 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.0003768/0.4125, allocations: 186.9 kB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.4137, allocations: 459.2 kB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4137, allocations: 0 / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/0.4142, allocations: 244.3 kB / 1.339 GB, free: 3.582 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4146, allocations: 75.53 kB / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.4155, allocations: 438.9 kB / 1.34 GB, free: 3.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.4156, allocations: 126.5 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004095/0.416, allocations: 173.6 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4161, allocations: 39.41 kB / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.4161, allocations: 0 / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of Templates: time 0.01099/0.4271, allocations: 5.706 MB / 1.346 GB, free: 13.11 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 -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/jenkins/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.873887518420815]