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.001327/0.001327, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001571/0.001571, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.659/2.659, allocations: 437 MB / 0.71 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 59.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6683/0.6696, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002587/0.6723, allocations: 1.447 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003433/0.6757, allocations: 2.898 MB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.6758, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.116e-05/0.6759, allocations: 7.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.676, allocations: 35.81 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.6766, allocations: 163.4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.6769, allocations: 247.5 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.677, allocations: 11.98 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.888e-05/0.6771, allocations: 95.84 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.6772, allocations: 135.7 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.6773, allocations: 12 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.6776, allocations: 139.9 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.6777, allocations: 95.75 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.6778, allocations: 91.56 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.6782, allocations: 273.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6782, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6782, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6782, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 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.0008729/0.6791, allocations: 0.5378 MB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6792, allocations: 8.031 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.6793, allocations: 16.75 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.6796, allocations: 240 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.6796, allocations: 28.36 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.6797, allocations: 16.38 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.6803, allocations: 289.2 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6803, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.6804, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.6804, allocations: 4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.6818, allocations: 0.7491 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.6822, allocations: 313 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.6838, allocations: 0.6726 MB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.6843, allocations: 232.7 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00045/0.6848, allocations: 392.3 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6848, allocations: 38.5 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.583e-06/0.6848, allocations: 0 / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001611/0.6864, allocations: 0.6534 MB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6865, allocations: 59.34 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.6866, allocations: 126.1 kB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.6867, allocations: 33.7 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.6867, allocations: 84.8 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.6868, allocations: 126.2 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.6869, allocations: 77.61 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6871, allocations: 326.8 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.6875, allocations: 191.8 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.688, allocations: 200.8 kB / 1.027 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.6889, allocations: 360.9 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6889, allocations: 0 / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001064/0.69, allocations: 472.5 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.69, allocations: 4 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.69, allocations: 0 / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6901, allocations: 0 / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.6904, allocations: 99.84 kB / 1.028 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6904, allocations: 7.938 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.6906, allocations: 47.75 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.6906, allocations: 15.98 kB / 1.028 GB, free: 6.426 MB / 0.7794 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.000128/0.6908, allocations: 142.3 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.6908, allocations: 19.75 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.692, allocations: 0.5153 MB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6921, allocations: 4 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6921, allocations: 4 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.6921, allocations: 3.984 kB / 1.029 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.6924, allocations: 305.3 kB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.6924, allocations: 0 / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.6927, allocations: 103.8 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6928, allocations: 4 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.6928, allocations: 11.98 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6928, allocations: 0 / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6928, allocations: 4 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.6939, allocations: 0.4925 MB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.6939, allocations: 100.7 kB / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.694, allocations: 8 kB / 1.03 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.6942, allocations: 35.95 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.6944, allocations: 111.8 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.6944, allocations: 15.98 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.6945, allocations: 104.6 kB / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6945, allocations: 0 / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003796/0.6949, allocations: 115.9 kB / 1.03 GB, free: 4.242 MB / 0.7794 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.0003599/0.6952, allocations: 203 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.6965, allocations: 0.5501 MB / 1.031 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6965, allocations: 4 kB / 1.031 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005539/0.697, allocations: 263.4 kB / 1.031 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.6975, allocations: 75.92 kB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.6982, allocations: 482.5 kB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.6984, allocations: 0.7366 MB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004188/0.6989, allocations: 183 kB / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.699, allocations: 43.36 kB / 1.033 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.699, allocations: 4 kB / 1.033 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of Templates: time 0.008308/0.7073, allocations: 5.054 MB / 1.038 GB, free: 12.69 MB / 0.795 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