Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.EthyleneGlycolWater,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.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001075/0.001075, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.334/2.334, allocations: 390.2 MB / 0.6642 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 71.88 kB / 0.8118 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7153/0.7165, allocations: 140.4 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002795/0.7194, allocations: 1.453 MB / 0.9503 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003294/0.7227, allocations: 2.908 MB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.7228, allocations: 2 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.7229, allocations: 11.94 kB / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.7231, allocations: 41.8 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.7238, allocations: 164.2 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.7241, allocations: 330.8 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.7242, allocations: 3.281 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.7243, allocations: 85.42 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.7244, allocations: 140.8 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.7245, allocations: 14.34 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004339/0.7249, allocations: 152.3 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.725, allocations: 80.44 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.7251, allocations: 90.94 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.7255, allocations: 273.3 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7256, allocations: 3.984 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7256, allocations: 4 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.7256, allocations: 1.312 kB / 0.9545 GB, free: 4.84 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.0008214/0.7264, allocations: 0.5165 MB / 0.955 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7265, allocations: 13.38 kB / 0.955 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.7266, allocations: 22.38 kB / 0.955 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.7268, allocations: 244.2 kB / 0.9553 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.7269, allocations: 25.27 kB / 0.9553 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.7269, allocations: 17.95 kB / 0.9553 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.7275, allocations: 288.6 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.7275, allocations: 5.219 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.7276, allocations: 9.344 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7276, allocations: 5.094 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.7289, allocations: 0.7443 MB / 0.9563 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.7293, allocations: 310.3 kB / 0.9566 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.7308, allocations: 0.674 MB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.7313, allocations: 227 kB / 0.9575 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.7317, allocations: 393.8 kB / 0.9579 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.7317, allocations: 48.66 kB / 0.9579 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.635e-06/0.7317, allocations: 0 / 0.9579 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001584/0.7333, allocations: 0.6478 MB / 0.9586 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.7334, allocations: 55.53 kB / 0.9586 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.234e-05/0.7335, allocations: 129.3 kB / 0.9587 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.7335, allocations: 32.2 kB / 0.9588 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.7335, allocations: 98.06 kB / 0.9589 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.416e-05/0.7336, allocations: 117.9 kB / 0.959 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/0.7337, allocations: 65.55 kB / 0.959 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.7338, allocations: 327.1 kB / 0.9593 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.7343, allocations: 199.1 kB / 0.9595 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.7347, allocations: 191.1 kB / 0.9597 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/0.7356, allocations: 370.2 kB / 0.9601 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7357, allocations: 0 / 0.9601 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001093/0.7368, allocations: 467.5 kB / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.7368, allocations: 6.594 kB / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7368, allocations: 0 / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.7368, allocations: 1.406 kB / 0.9605 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.7372, allocations: 103.3 kB / 0.9606 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.7372, allocations: 2.781 kB / 0.9606 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.7375, allocations: 48.67 kB / 0.9607 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.7375, allocations: 17.5 kB / 0.9607 GB, free: 0.7969 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.0001264/0.7376, allocations: 143.8 kB / 0.9608 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.7377, allocations: 23.97 kB / 0.9608 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.7389, allocations: 0.5192 MB / 0.9614 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7389, allocations: 3.781 kB / 0.9614 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7389, allocations: 1.344 kB / 0.9614 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.7389, allocations: 7.969 kB / 0.9614 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.7393, allocations: 309.8 kB / 0.9617 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7393, allocations: 0 / 0.9617 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.7396, allocations: 100.5 kB / 0.9618 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7396, allocations: 1.094 kB / 0.9618 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.7397, allocations: 16.3 kB / 0.9618 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7397, allocations: 1.094 kB / 0.9618 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7397, allocations: 1.125 kB / 0.9618 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.7408, allocations: 0.4939 MB / 0.9623 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.7409, allocations: 98.02 kB / 0.9624 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.7409, allocations: 6.719 kB / 0.9624 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.7411, allocations: 43.64 kB / 0.9624 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.7413, allocations: 115.2 kB / 0.9625 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.7414, allocations: 12.42 kB / 0.9625 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.977e-05/0.7415, allocations: 100.2 kB / 0.9626 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7415, allocations: 3.938 kB / 0.9626 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005016/0.742, allocations: 120.3 kB / 0.9627 GB, free: 15.48 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.0004813/0.7425, allocations: 185.4 kB / 0.9629 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.7437, allocations: 474.6 kB / 0.9634 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7437, allocations: 0 / 0.9634 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.7443, allocations: 252.1 kB / 0.9636 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.7447, allocations: 78.11 kB / 0.9637 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008283/0.7456, allocations: 497.1 kB / 0.9642 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.7459, allocations: 0.7343 MB / 0.9649 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004725/0.7464, allocations: 182.4 kB / 0.965 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.7465, allocations: 37.69 kB / 0.9651 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.7465, allocations: 1.156 kB / 0.9651 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.009134/0.7557, allocations: 4.867 MB / 0.9698 GB, free: 11.48 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches