Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 191.8 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6932, allocations: 140.4 MB / 0.9489 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002164/0.6954, allocations: 1.442 MB / 0.9503 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.6982, allocations: 2.922 MB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.6982, allocations: 0 / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.089e-05/0.6983, allocations: 5.359 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.6985, allocations: 48.45 kB / 0.9532 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.6989, allocations: 156.3 kB / 0.9534 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.6992, allocations: 331.3 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.6993, allocations: 8.453 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.6994, allocations: 88.66 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.6995, allocations: 133.3 kB / 0.9539 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.6995, allocations: 14.91 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.6999, allocations: 147.2 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.7, allocations: 92.59 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.7001, allocations: 90.81 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.7004, allocations: 273.7 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.7004, allocations: 0 / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.7004, allocations: 3.938 kB / 0.9545 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7005, allocations: 4 kB / 0.9545 GB, free: 4.965 MB / 0.7169 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.0006761/0.7011, allocations: 0.5255 MB / 0.955 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7012, allocations: 8.75 kB / 0.955 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.7013, allocations: 23.06 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.7016, allocations: 244.9 kB / 0.9553 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.7016, allocations: 23.3 kB / 0.9553 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.7016, allocations: 14.06 kB / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.7023, allocations: 293.6 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7023, allocations: 1.469 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.7023, allocations: 9.438 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7023, allocations: 2.594 kB / 0.9556 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.7039, allocations: 0.7468 MB / 0.9563 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.7043, allocations: 313 kB / 0.9566 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.7057, allocations: 0.671 MB / 0.9573 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.7062, allocations: 230.8 kB / 0.9575 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.7066, allocations: 395 kB / 0.9579 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.7066, allocations: 43.47 kB / 0.9579 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.7066, allocations: 0.9688 kB / 0.9579 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001473/0.7081, allocations: 0.6435 MB / 0.9586 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.7081, allocations: 55.62 kB / 0.9586 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.7082, allocations: 132 kB / 0.9587 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7083, allocations: 31.95 kB / 0.9588 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.7083, allocations: 91.08 kB / 0.9589 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.7084, allocations: 125.5 kB / 0.959 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.7085, allocations: 68.73 kB / 0.959 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.7085, allocations: 327.8 kB / 0.9593 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.7089, allocations: 191.4 kB / 0.9595 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.7093, allocations: 206.2 kB / 0.9597 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.7101, allocations: 362.5 kB / 0.9601 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7101, allocations: 0 / 0.9601 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009609/0.7111, allocations: 471.5 kB / 0.9605 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7111, allocations: 5.125 kB / 0.9605 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7111, allocations: 1.406 kB / 0.9605 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7112, allocations: 1.5 kB / 0.9605 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.7115, allocations: 103.3 kB / 0.9606 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7115, allocations: 5.125 kB / 0.9606 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.7117, allocations: 54.47 kB / 0.9607 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.7117, allocations: 8.219 kB / 0.9607 GB, free: 0.918 MB / 0.7169 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.0001026/0.7118, allocations: 143.8 kB / 0.9608 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.7119, allocations: 28.53 kB / 0.9609 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.713, allocations: 0.5128 MB / 0.9614 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.713, allocations: 4.594 kB / 0.9614 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.713, allocations: 0 / 0.9614 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.713, allocations: 3.984 kB / 0.9614 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.7133, allocations: 309.9 kB / 0.9617 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7133, allocations: 1.094 kB / 0.9617 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.7136, allocations: 99.33 kB / 0.9618 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.7136, allocations: 1.312 kB / 0.9618 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.7137, allocations: 15.95 kB / 0.9618 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7137, allocations: 1.969 kB / 0.9618 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7137, allocations: 0 / 0.9618 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.7147, allocations: 0.4942 MB / 0.9623 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.7148, allocations: 99.39 kB / 0.9624 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.7148, allocations: 6.094 kB / 0.9624 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.715, allocations: 35.67 kB / 0.9624 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.7152, allocations: 122.6 kB / 0.9625 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.7152, allocations: 12.23 kB / 0.9625 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.907e-05/0.7153, allocations: 104.6 kB / 0.9626 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7153, allocations: 0 / 0.9626 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004194/0.7158, allocations: 120.5 kB / 0.9627 GB, free: 15.6 MB / 0.7325 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.0003877/0.7161, allocations: 188.8 kB / 0.9629 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.7172, allocations: 462.6 kB / 0.9634 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7172, allocations: 0 / 0.9634 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.7177, allocations: 260.1 kB / 0.9636 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.7182, allocations: 78.8 kB / 0.9637 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.7189, allocations: 488 kB / 0.9641 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.7192, allocations: 0.7343 MB / 0.9649 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000427/0.7196, allocations: 188 kB / 0.965 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7198, allocations: 38.16 kB / 0.9651 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7198, allocations: 0 / 0.9651 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.009333/0.7291, allocations: 4.879 MB / 0.9698 GB, free: 11.6 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches