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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00815/0.008151, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.002138/0.002138, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3382, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002687/0.3409, allocations: 1.377 MB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003733/0.3447, allocations: 2.921 MB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3447, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.855e-05/0.3448, allocations: 15.86 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3449, allocations: 35.81 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.3455, allocations: 187.1 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.3458, allocations: 239.5 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.3458, allocations: 4 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.346, allocations: 99.78 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3461, allocations: 119.8 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.3462, allocations: 12 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.3465, allocations: 135.8 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3467, allocations: 87.75 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.3468, allocations: 91.64 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.3472, allocations: 283 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3472, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3472, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.3473, allocations: 4 kB / 1.172 GB, free: 1.176 MB / 0.92 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.0009793/0.3483, allocations: 0.5219 MB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3483, allocations: 11.97 kB / 1.173 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.3484, allocations: 20.8 kB / 1.173 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3487, allocations: 247 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.3488, allocations: 32.36 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.3488, allocations: 12.38 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.3495, allocations: 289.2 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3495, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3495, allocations: 8 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3496, allocations: 8 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.351, allocations: 0.7452 MB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.3514, allocations: 305.1 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3531, allocations: 0.679 MB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.3537, allocations: 232.7 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.3541, allocations: 388.3 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3541, allocations: 42.5 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.3541, allocations: 4 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.001703/0.3559, allocations: 0.646 MB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3559, allocations: 59.39 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.356, allocations: 118.1 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.3561, allocations: 37.7 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.3561, allocations: 92.72 kB / 1.176 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.3562, allocations: 134.9 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3563, allocations: 69.67 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3565, allocations: 330.8 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.357, allocations: 195.7 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.3575, allocations: 201 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.3585, allocations: 364.7 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3585, allocations: 0 / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001103/0.3596, allocations: 468.4 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3596, allocations: 4 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3596, allocations: 0 / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3597, allocations: 7.984 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.36, allocations: 99.84 kB / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.36, allocations: 0 / 1.178 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3603, allocations: 55.8 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.3603, allocations: 8 kB / 1.178 GB, free: 10.52 MB / 0.9356 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.0001396/0.3604, allocations: 141.8 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.3605, allocations: 23.78 kB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.3618, allocations: 0.5102 MB / 1.179 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3618, allocations: 4 kB / 1.179 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3618, allocations: 0 / 1.179 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3618, allocations: 3.984 kB / 1.179 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.3622, allocations: 321.3 kB / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3622, allocations: 4 kB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.3625, allocations: 95.8 kB / 1.179 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3626, allocations: 0 / 1.179 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3626, allocations: 15.98 kB / 1.179 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3626, allocations: 4 kB / 1.179 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3626, allocations: 0 / 1.179 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.3638, allocations: 0.5004 MB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.3638, allocations: 96.89 kB / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.3639, allocations: 8 kB / 1.18 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.3641, allocations: 35.95 kB / 1.18 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.3643, allocations: 115.8 kB / 1.18 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.3644, allocations: 19.98 kB / 1.18 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.17e-05/0.3644, allocations: 98.77 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3644, allocations: 0 / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003929/0.3648, allocations: 119.7 kB / 1.18 GB, free: 8.32 MB / 0.9356 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.0003881/0.3652, allocations: 190.9 kB / 1.18 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.3663, allocations: 467.3 kB / 1.181 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3664, allocations: 0 / 1.181 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.3669, allocations: 263.6 kB / 1.181 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3673, allocations: 83.8 kB / 1.181 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.3681, allocations: 436.1 kB / 1.182 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3685, allocations: 0.7327 MB / 1.182 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003956/0.3689, allocations: 177.3 kB / 1.183 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.369, allocations: 39.41 kB / 1.183 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.369, allocations: 0 / 1.183 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.0102/0.3792, allocations: 5.31 MB / 1.188 GB, free: 0.6719 MB / 0.9356 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches