Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001592/0.001593, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001771/0.001772, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 60.47 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 151.7 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002397/0.3211, allocations: 1.381 MB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.3245, allocations: 2.915 MB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.3245, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.453e-05/0.3246, allocations: 7.922 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3248, allocations: 39.81 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.3253, allocations: 195.1 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.3256, allocations: 243.5 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.3257, allocations: 4 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.577e-05/0.3258, allocations: 91.84 kB / 1.024 GB, free: 4.957 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3259, allocations: 127.7 kB / 1.024 GB, free: 4.832 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.3259, allocations: 8 kB / 1.024 GB, free: 4.824 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.3263, allocations: 135.9 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.3264, allocations: 83.83 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3265, allocations: 91.58 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.3268, allocations: 279.2 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3269, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3269, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3269, allocations: 4 kB / 1.024 GB, free: 4.242 MB / 0.795 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.0007841/0.3277, allocations: 0.5222 MB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3277, allocations: 8.922 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.3278, allocations: 20.73 kB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3281, allocations: 250.9 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.3282, allocations: 20.36 kB / 1.025 GB, free: 3.344 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.3282, allocations: 20.31 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.3288, allocations: 290.8 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3288, allocations: 3.938 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.3288, allocations: 8 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3289, allocations: 4 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.3302, allocations: 0.7491 MB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3306, allocations: 309 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.3321, allocations: 0.6685 MB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.3325, allocations: 236.4 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.3329, allocations: 388.3 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.333, allocations: 46.5 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=37): time 3.046e-06/0.333, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of matching and sorting (n=37): time 0.001514/0.3345, allocations: 0.6497 MB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3346, allocations: 55.41 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.3347, allocations: 122.1 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3347, allocations: 33.7 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.3347, allocations: 96.78 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.3348, allocations: 122.2 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.3349, allocations: 65.67 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.335, allocations: 326.8 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/0.3355, allocations: 195.8 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.3359, allocations: 200.8 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.3368, allocations: 368.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3368, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009938/0.3378, allocations: 472.3 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3378, allocations: 7.984 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3378, allocations: 0 / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3378, allocations: 4 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.3382, allocations: 99.86 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3382, allocations: 0 / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.3383, allocations: 51.7 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3384, allocations: 15.98 kB / 1.03 GB, free: 13.59 MB / 0.8106 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.0001173/0.3385, allocations: 133.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3386, allocations: 23.75 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3397, allocations: 0.5102 MB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3397, allocations: 4 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3397, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3397, allocations: 3.984 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.34, allocations: 317.2 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.34, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.3403, allocations: 107.7 kB / 1.031 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3404, allocations: 4 kB / 1.031 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.3404, allocations: 15.94 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3404, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3404, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000991/0.3414, allocations: 0.4926 MB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.3415, allocations: 96.8 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3415, allocations: 11.98 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.3417, allocations: 31.97 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.3419, allocations: 123.8 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3419, allocations: 12 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.342, allocations: 104.5 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.342, allocations: 0 / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003689/0.3424, allocations: 115.9 kB / 1.032 GB, free: 11.4 MB / 0.8106 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.0003075/0.3427, allocations: 189 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.3437, allocations: 471.3 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3437, allocations: 3.938 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.3442, allocations: 255.5 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3446, allocations: 79.92 kB / 1.033 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.3453, allocations: 426.4 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3456, allocations: 0.7328 MB / 1.035 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003746/0.346, allocations: 183.6 kB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.3461, allocations: 39.42 kB / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3461, allocations: 0 / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of Templates: time 0.008596/0.3547, allocations: 5.27 MB / 1.04 GB, free: 3.805 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches