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.001584/0.001584, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001971/0.001971, allocations: 194 kB / 16.91 MB, free: 5.758 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.208/2.208, allocations: 390.2 MB / 0.665 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.7 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2537, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002787/0.2565, allocations: 1.446 MB / 0.9512 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.2601, allocations: 2.902 MB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.2602, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.51e-05/0.2603, allocations: 3.938 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.2604, allocations: 39.86 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.261, allocations: 167.4 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.2613, allocations: 239.5 kB / 0.9544 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.2613, allocations: 4 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2614, allocations: 95.78 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2616, allocations: 143.7 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.2616, allocations: 8 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.262, allocations: 151.8 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.2621, allocations: 83.83 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2622, allocations: 95.58 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.2625, allocations: 183.9 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2625, allocations: 7.984 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2625, allocations: 0 / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.2625, allocations: 0 / 0.9552 GB, free: 3.621 MB / 0.7325 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.0008368/0.2633, allocations: 0.5236 MB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2634, allocations: 15.97 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.2635, allocations: 16.75 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.2638, allocations: 240 kB / 0.9559 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.2638, allocations: 28.36 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.2639, allocations: 20.38 kB / 0.956 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.2646, allocations: 293.2 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2646, allocations: 3.938 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2646, allocations: 4 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2646, allocations: 4 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.2661, allocations: 0.7452 MB / 0.957 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.2665, allocations: 309 kB / 0.9573 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.2681, allocations: 0.6791 MB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.2686, allocations: 232.7 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/0.269, allocations: 392.3 kB / 0.9586 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2691, allocations: 38.5 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 2.294e-06/0.2691, allocations: 0 / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001623/0.2707, allocations: 0.6458 MB / 0.9592 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2708, allocations: 59.41 kB / 0.9593 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2709, allocations: 126.1 kB / 0.9594 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.271, allocations: 33.7 kB / 0.9594 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.271, allocations: 92.78 kB / 0.9595 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.2711, allocations: 126.1 kB / 0.9596 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.2713, allocations: 69.67 kB / 0.9597 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2714, allocations: 326.8 kB / 0.96 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.2719, allocations: 195.8 kB / 0.9602 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.2724, allocations: 193 kB / 0.9604 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.2732, allocations: 368.7 kB / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2732, allocations: 0 / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001027/0.2743, allocations: 472.2 kB / 0.9612 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2743, allocations: 8 kB / 0.9612 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2743, allocations: 0 / 0.9612 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2743, allocations: 0 / 0.9612 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.2747, allocations: 95.84 kB / 0.9613 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2747, allocations: 4 kB / 0.9613 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2749, allocations: 47.8 kB / 0.9613 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2749, allocations: 15.94 kB / 0.9614 GB, free: 12.98 MB / 0.7481 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.0001336/0.2751, allocations: 141.8 kB / 0.9615 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.2751, allocations: 23.75 kB / 0.9615 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.2768, allocations: 0.5059 MB / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2768, allocations: 4 kB / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2768, allocations: 0 / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.2768, allocations: 3.984 kB / 0.962 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.2774, allocations: 321.2 kB / 0.9623 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2774, allocations: 0 / 0.9623 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.2779, allocations: 99.8 kB / 0.9624 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.278, allocations: 4 kB / 0.9624 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.278, allocations: 15.92 kB / 0.9624 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.278, allocations: 0 / 0.9624 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.278, allocations: 3.984 kB / 0.9624 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.2798, allocations: 0.4964 MB / 0.9629 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.2799, allocations: 100.8 kB / 0.963 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.28, allocations: 12 kB / 0.963 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.2803, allocations: 35.95 kB / 0.9631 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003733/0.2807, allocations: 115.8 kB / 0.9632 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.2807, allocations: 15.98 kB / 0.9632 GB, free: 11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001091/0.2808, allocations: 95.27 kB / 0.9633 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2809, allocations: 4 kB / 0.9633 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006689/0.2815, allocations: 119.9 kB / 0.9634 GB, free: 10.79 MB / 0.7481 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.0005757/0.2821, allocations: 187.1 kB / 0.9636 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.2841, allocations: 0.5538 MB / 0.9641 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2841, allocations: 0 / 0.9641 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.285, allocations: 263.7 kB / 0.9644 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.2857, allocations: 71.92 kB / 0.9644 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.287, allocations: 0.5249 MB / 0.965 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.2874, allocations: 0.7328 MB / 0.9657 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.2877, allocations: 47.41 kB / 0.9657 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.2877, allocations: 0 / 0.9657 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of Templates: time 0.01216/0.2999, allocations: 4.733 MB / 0.9703 GB, free: 3.672 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches