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.0008311/0.0008312, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006235/0.006235, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.694/2.694, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8075, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001616/0.8091, allocations: 1.112 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.8127, allocations: 2.879 MB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.8128, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.028e-05/0.8129, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.813, allocations: 39.8 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.8135, allocations: 155.4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.8138, allocations: 335.3 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.8139, allocations: 4 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.814, allocations: 91.86 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.8141, allocations: 139.7 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.8142, allocations: 15.94 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.8145, allocations: 147.8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.8146, allocations: 83.83 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.8148, allocations: 121.3 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.8151, allocations: 273.2 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8151, allocations: 0 / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8151, allocations: 4 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.8151, allocations: 0 / 1.028 GB, free: 10.41 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.000887/0.816, allocations: 0.5262 MB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8161, allocations: 8.031 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.8162, allocations: 16.75 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.8165, allocations: 248 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.8165, allocations: 24.36 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.8165, allocations: 12.38 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.8172, allocations: 321.2 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8173, allocations: 0 / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.8173, allocations: 4 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8173, allocations: 4 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.8188, allocations: 0.8038 MB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.8192, allocations: 309.1 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/0.8211, allocations: 0.777 MB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005445/0.8216, allocations: 260.7 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000417/0.8221, allocations: 392.3 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.8221, allocations: 38.5 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.413e-06/0.8221, allocations: 0 / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001724/0.8238, allocations: 0.7394 MB / 1.033 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8239, allocations: 55.41 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.824, allocations: 126.1 kB / 1.033 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.8241, allocations: 37.7 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.8241, allocations: 84.8 kB / 1.033 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.8242, allocations: 126.2 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.8243, allocations: 33.7 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8244, allocations: 330.8 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.825, allocations: 219.8 kB / 1.034 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.8255, allocations: 236.7 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009461/0.8264, allocations: 424.9 kB / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8264, allocations: 0 / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001111/0.8275, allocations: 0.5123 MB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.8276, allocations: 8 kB / 1.035 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8276, allocations: 0 / 1.035 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8276, allocations: 7.922 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.828, allocations: 111.8 kB / 1.035 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.828, allocations: 4 kB / 1.035 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.8283, allocations: 67.64 kB / 1.035 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.8283, allocations: 16 kB / 1.035 GB, free: 3.301 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.0001346/0.8284, allocations: 146.3 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.8285, allocations: 23.75 kB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.8298, allocations: 0.5689 MB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8298, allocations: 4 kB / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8298, allocations: 0 / 1.036 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.8298, allocations: 3.984 kB / 1.036 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.8302, allocations: 317.2 kB / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8302, allocations: 0 / 1.036 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.8305, allocations: 111.8 kB / 1.036 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8305, allocations: 4 kB / 1.036 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.8306, allocations: 11.98 kB / 1.036 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8306, allocations: 0 / 1.036 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8306, allocations: 0 / 1.036 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.8317, allocations: 0.5511 MB / 1.037 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.8318, allocations: 96.8 kB / 1.037 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.8318, allocations: 8 kB / 1.037 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.832, allocations: 51.95 kB / 1.037 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.8323, allocations: 115.8 kB / 1.037 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.8323, allocations: 19.92 kB / 1.037 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.8324, allocations: 98.64 kB / 1.037 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8324, allocations: 0 / 1.037 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003703/0.8328, allocations: 123.9 kB / 1.037 GB, free: 0.9648 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.0003564/0.8331, allocations: 191 kB / 1.037 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.8342, allocations: 0.515 MB / 1.038 GB, free: 260 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8342, allocations: 0 / 1.038 GB, free: 260 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.8348, allocations: 291.5 kB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.8353, allocations: 82.34 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.8361, allocations: 498.2 kB / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.8364, allocations: 0.7369 MB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00041/0.8368, allocations: 187.3 kB / 1.039 GB, free: 14.44 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.8369, allocations: 31.42 kB / 1.04 GB, free: 14.41 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.8369, allocations: 0 / 1.04 GB, free: 14.41 MB / 0.795 GB Notification: Performance of Templates: time 0.008957/0.8459, allocations: 4.843 MB / 1.044 GB, free: 9.629 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