Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001447/0.001447, 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.001672/0.001672, allocations: 215.8 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.305/1.305, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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 2.885/2.885, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_latest_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_latest_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.001897/0.001897, allocations: 67.25 kB / 1.178 GB, free: 16.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002259/0.3049, allocations: 1.414 MB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.3084, allocations: 2.997 MB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.3085, allocations: 0 / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.3085, allocations: 3.984 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.3086, allocations: 43.81 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.3092, allocations: 187.1 kB / 1.359 GB, free: 3.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.3095, allocations: 247.5 kB / 1.359 GB, free: 3.027 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.3095, allocations: 7.938 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3096, allocations: 103.8 kB / 1.359 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3097, allocations: 123.7 kB / 1.359 GB, free: 2.797 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3098, allocations: 12 kB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.3101, allocations: 147.8 kB / 1.359 GB, free: 2.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3102, allocations: 87.81 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3103, allocations: 99.58 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.3107, allocations: 267.1 kB / 1.36 GB, free: 2.195 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3107, allocations: 0 / 1.36 GB, free: 2.195 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.113e-06/0.3107, allocations: 0 / 1.36 GB, free: 2.195 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3107, allocations: 4 kB / 1.36 GB, free: 2.191 MB / 1.045 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.0007696/0.3115, allocations: 471.4 kB / 1.36 GB, free: 1.703 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3115, allocations: 12.03 kB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3116, allocations: 16.84 kB / 1.36 GB, free: 1.676 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3119, allocations: 190.2 kB / 1.36 GB, free: 1.465 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.3119, allocations: 24.36 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3119, allocations: 16.38 kB / 1.36 GB, free: 1.426 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.3125, allocations: 297 kB / 1.361 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3126, allocations: 0 / 1.361 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.3126, allocations: 4 kB / 1.361 GB, free: 1.125 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3126, allocations: 7.938 kB / 1.361 GB, free: 1.117 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.314, allocations: 0.7529 MB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.3143, allocations: 280.2 kB / 1.362 GB, free: 48 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.3159, allocations: 0.649 MB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.3163, allocations: 212.7 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.3166, allocations: 83.94 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3166, allocations: 38.5 kB / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.402e-06/0.3166, allocations: 0 / 1.363 GB, free: 15.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001555/0.3182, allocations: 0.6546 MB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3182, allocations: 55.41 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3183, allocations: 130.1 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.3184, allocations: 33.7 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.3184, allocations: 84.8 kB / 1.364 GB, free: 14.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3185, allocations: 134.8 kB / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.3186, allocations: 65.69 kB / 1.364 GB, free: 13.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3187, allocations: 326.8 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.3192, allocations: 195.8 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.3197, allocations: 203.9 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.3205, allocations: 356.3 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3205, allocations: 0 / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001033/0.3215, allocations: 477 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3215, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3216, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3216, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.3219, allocations: 91.86 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3219, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3221, allocations: 55.73 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.3221, allocations: 15.98 kB / 1.365 GB, free: 12.14 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.0001285/0.3223, allocations: 149.7 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3223, allocations: 23.84 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.3234, allocations: 0.5084 MB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3234, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3234, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3235, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.3238, allocations: 288.4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3238, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.3241, allocations: 103.8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3241, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.3241, allocations: 15.98 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3241, allocations: 7.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3241, allocations: 7.875 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.3252, allocations: 496.5 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.3252, allocations: 27.77 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.3252, allocations: 4 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3254, allocations: 35.97 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.3256, allocations: 119.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3256, allocations: 15.98 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.3257, allocations: 95.27 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3257, allocations: 4 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003572/0.3261, allocations: 119.7 kB / 1.367 GB, free: 10.05 MB / 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.0002929/0.3264, allocations: 190.9 kB / 1.368 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.3274, allocations: 451.3 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3274, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.3279, allocations: 248.6 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3283, allocations: 77.97 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.329, allocations: 466.3 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3293, allocations: 0.7289 MB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3295, allocations: 51.41 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/0.3295, allocations: 0 / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of Templates: time 0.006857/0.3363, allocations: 4.766 MB / 1.374 GB, free: 3.109 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.633292573009385]