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.001156/0.001156, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001172/0.001172, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.273/2.273, allocations: 390.3 MB / 0.6653 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.61 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.263, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003849/0.2669, allocations: 1.387 MB / 0.9516 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.2722, allocations: 2.915 MB / 0.9545 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.2723, allocations: 0 / 0.9545 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.2725, allocations: 7.922 kB / 0.9545 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.2727, allocations: 39.81 kB / 0.9545 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.2736, allocations: 187.1 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.274, allocations: 239.5 kB / 0.9549 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.274, allocations: 8 kB / 0.9549 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.2742, allocations: 95.83 kB / 0.955 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.2745, allocations: 123.7 kB / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.2745, allocations: 12 kB / 0.9551 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.2751, allocations: 131.9 kB / 0.9553 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.2753, allocations: 95.75 kB / 0.9554 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.2755, allocations: 79.66 kB / 0.9554 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.2761, allocations: 279.5 kB / 0.9557 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2761, allocations: 4 kB / 0.9557 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2761, allocations: 0 / 0.9557 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2761, allocations: 0 / 0.9557 GB, free: 3.285 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.001189/0.2773, allocations: 0.5222 MB / 0.9562 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2774, allocations: 12.02 kB / 0.9562 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.2775, allocations: 20.75 kB / 0.9562 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2778, allocations: 247.5 kB / 0.9565 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.2778, allocations: 24.36 kB / 0.9565 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.2779, allocations: 16.38 kB / 0.9565 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.2785, allocations: 289.2 kB / 0.9568 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2786, allocations: 4 kB / 0.9568 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2786, allocations: 4 kB / 0.9568 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2786, allocations: 4 kB / 0.9568 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.2801, allocations: 0.753 MB / 0.9575 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2805, allocations: 309 kB / 0.9578 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.2821, allocations: 0.679 MB / 0.9585 GB, free: 276 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.2826, allocations: 228.7 kB / 0.9587 GB, free: 44 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000439/0.283, allocations: 388.3 kB / 0.9591 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2831, allocations: 50.44 kB / 0.9591 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/0.2831, allocations: 0 / 0.9591 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001714/0.2848, allocations: 0.6459 MB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.2849, allocations: 55.41 kB / 0.9598 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.285, allocations: 126.1 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2851, allocations: 37.7 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.2851, allocations: 84.8 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2853, allocations: 122.2 kB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.2854, allocations: 69.67 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2855, allocations: 326.8 kB / 0.9606 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.2862, allocations: 195.8 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000749/0.287, allocations: 197 kB / 0.9609 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2882, allocations: 368.6 kB / 0.9613 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2882, allocations: 0 / 0.9613 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001117/0.2894, allocations: 472.3 kB / 0.9617 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2894, allocations: 4 kB / 0.9617 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2894, allocations: 3.984 kB / 0.9617 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2894, allocations: 4 kB / 0.9617 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.2898, allocations: 99.8 kB / 0.9618 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2898, allocations: 4 kB / 0.9618 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.29, allocations: 47.7 kB / 0.9619 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.29, allocations: 11.98 kB / 0.9619 GB, free: 12.64 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.0001434/0.2902, allocations: 145.8 kB / 0.962 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.2902, allocations: 19.75 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.2914, allocations: 0.5141 MB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2914, allocations: 4 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2915, allocations: 3.984 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2915, allocations: 0 / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.2918, allocations: 313.3 kB / 0.9629 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2918, allocations: 0 / 0.9629 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.2921, allocations: 103.8 kB / 0.963 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.2921, allocations: 12 kB / 0.963 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.2922, allocations: 8 kB / 0.963 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2922, allocations: 0 / 0.963 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2922, allocations: 3.984 kB / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.2933, allocations: 0.4887 MB / 0.9635 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.2933, allocations: 100.8 kB / 0.9636 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.2934, allocations: 11.98 kB / 0.9636 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2936, allocations: 39.91 kB / 0.9636 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.2938, allocations: 115.8 kB / 0.9637 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.2938, allocations: 12 kB / 0.9637 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.2939, allocations: 106.6 kB / 0.9638 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.613e-06/0.2939, allocations: 0 / 0.9638 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003914/0.2943, allocations: 119.9 kB / 0.9639 GB, free: 10.45 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.0003425/0.2947, allocations: 187.1 kB / 0.9641 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.2959, allocations: 0.5539 MB / 0.9647 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2959, allocations: 0 / 0.9647 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.2964, allocations: 259.7 kB / 0.9649 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.2968, allocations: 77.3 kB / 0.965 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.2977, allocations: 473.4 kB / 0.9654 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.298, allocations: 0.7289 MB / 0.9661 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2981, allocations: 47.41 kB / 0.9662 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of SimCode: time 6.92e-07/0.2981, allocations: 0 / 0.9662 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of Templates: time 0.007701/0.3058, allocations: 4.735 MB / 0.9708 GB, free: 3.395 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