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.001489/0.001489, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001777/0.001777, allocations: 210.3 kB / 23.01 MB, free: 4.566 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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 2.85/2.85, allocations: 0.49 GB / 0.7958 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] 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.001942/0.001942, allocations: 67.62 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002445/0.2927, allocations: 1.422 MB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004014/0.2967, allocations: 2.996 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.2968, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.32e-05/0.2969, allocations: 11.92 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.297, allocations: 39.75 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.2976, allocations: 191.1 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.2978, allocations: 243.5 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.2979, allocations: 7.938 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.298, allocations: 91.86 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2981, allocations: 131.7 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.2982, allocations: 8 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.2986, allocations: 155.7 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2987, allocations: 87.77 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2988, allocations: 91.64 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.2991, allocations: 275 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2991, allocations: 4 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2991, allocations: 0 / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.2991, allocations: 0 / 1.333 GB, free: 11.68 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.0008601/0.3, allocations: 465.2 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3, allocations: 8.031 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3001, allocations: 20.84 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.3005, allocations: 185.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.3005, allocations: 28.3 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3005, allocations: 12.38 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.3012, allocations: 297.6 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3012, allocations: 4 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3013, allocations: 8 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3013, allocations: 4 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.3028, allocations: 0.7452 MB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.3032, allocations: 288.1 kB / 1.335 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.3048, allocations: 0.6402 MB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.3053, allocations: 212.7 kB / 1.336 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.3056, allocations: 87.86 kB / 1.336 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3056, allocations: 42.5 kB / 1.336 GB, free: 8.543 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.3056, allocations: 0 / 1.336 GB, free: 8.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001636/0.3073, allocations: 0.6546 MB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3073, allocations: 55.41 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3074, allocations: 126.1 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3075, allocations: 37.7 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.3075, allocations: 92.78 kB / 1.337 GB, free: 7.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.3076, allocations: 130.9 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.3077, allocations: 61.69 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3079, allocations: 334.8 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.3083, allocations: 195.8 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.3088, allocations: 199.6 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008776/0.3097, allocations: 357.2 kB / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3097, allocations: 0 / 1.338 GB, free: 6.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00105/0.3107, allocations: 472.4 kB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3107, allocations: 8 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3108, allocations: 0 / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3108, allocations: 4 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.3111, allocations: 99.84 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3111, allocations: 4 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3113, allocations: 47.75 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3113, allocations: 15.98 kB / 1.338 GB, free: 5.633 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.0001417/0.3115, allocations: 146.3 kB / 1.339 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3115, allocations: 23.84 kB / 1.339 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.3128, allocations: 0.5063 MB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3128, allocations: 7.938 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3128, allocations: 0 / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3128, allocations: 3.984 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.3132, allocations: 288.4 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3132, allocations: 0 / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.3135, allocations: 95.8 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3135, allocations: 8 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3136, allocations: 11.98 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3136, allocations: 0 / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3136, allocations: 0 / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3147, allocations: 0.4927 MB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.3147, allocations: 23.78 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3147, allocations: 4 kB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.3149, allocations: 39.95 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.3152, allocations: 115.8 kB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.3152, allocations: 23.92 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.918e-05/0.3153, allocations: 95.27 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3153, allocations: 0 / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004273/0.3157, allocations: 119.7 kB / 1.34 GB, free: 3.566 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.0003718/0.3161, allocations: 196.8 kB / 1.341 GB, free: 3.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.3172, allocations: 451.3 kB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3172, allocations: 0 / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.3178, allocations: 248.3 kB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3182, allocations: 79.19 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.319, allocations: 466.8 kB / 1.342 GB, free: 2.121 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3193, allocations: 0.7289 MB / 1.342 GB, free: 1.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3195, allocations: 51.39 kB / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3195, allocations: 0 / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of Templates: time 0.007417/0.3269, allocations: 4.765 MB / 1.347 GB, free: 12.61 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/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: 10.663849670992931]