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.0008564/0.0008563, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00112/0.001121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.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.728/2.728, allocations: 437.7 MB / 0.7117 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 8 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8207, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001648/0.8224, allocations: 1.093 MB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.826, allocations: 2.728 MB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.8261, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.8262, allocations: 7.984 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.8263, allocations: 35.81 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.8268, allocations: 155.3 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.8272, allocations: 271.4 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.8273, allocations: 7.938 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.8274, allocations: 95.84 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.8276, allocations: 135.8 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.8276, allocations: 12 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.828, allocations: 159.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.8282, allocations: 91.75 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.8282, allocations: 49.64 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.8285, allocations: 193.6 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/0.8285, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8285, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.8286, allocations: 3.938 kB / 1.027 GB, free: 11.02 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.0008944/0.8295, allocations: 0.5221 MB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.8295, allocations: 12.56 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.8297, allocations: 19.81 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.83, allocations: 230.8 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.83, allocations: 27.94 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.8301, allocations: 20 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.8307, allocations: 317.1 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8308, allocations: 0 / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.8308, allocations: 8 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.8308, allocations: 4 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.8323, allocations: 0.8037 MB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.8327, allocations: 313 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.8343, allocations: 0.7742 MB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/0.8349, allocations: 260.7 kB / 1.03 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/0.8354, allocations: 392.3 kB / 1.031 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.8354, allocations: 34.56 kB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.473e-06/0.8354, allocations: 0 / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001641/0.837, allocations: 0.7399 MB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.8371, allocations: 55.41 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.8372, allocations: 126.1 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.8373, allocations: 37.7 kB / 1.032 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.8373, allocations: 88.78 kB / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.8375, allocations: 126.1 kB / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/0.8375, allocations: 11.94 kB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8376, allocations: 330.8 kB / 1.032 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.8381, allocations: 219.8 kB / 1.033 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.8386, allocations: 231.5 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.839, allocations: 201.7 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.839, allocations: 4 kB / 1.033 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001044/0.8401, allocations: 0.5122 MB / 1.033 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.8401, allocations: 5.562 kB / 1.033 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8401, allocations: 0 / 1.033 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8401, allocations: 8 kB / 1.034 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.8405, allocations: 107.9 kB / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8405, allocations: 3.984 kB / 1.034 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.8407, allocations: 63.8 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.8408, allocations: 11.98 kB / 1.034 GB, free: 4.176 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.8409, allocations: 145.8 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.8409, allocations: 23.77 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.8422, allocations: 0.5797 MB / 1.034 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8422, allocations: 7.984 kB / 1.034 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.8422, allocations: 4 kB / 1.034 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.8422, allocations: 0 / 1.034 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.8425, allocations: 309.3 kB / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8425, allocations: 0 / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.8429, allocations: 115.8 kB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8429, allocations: 0 / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.8429, allocations: 15.95 kB / 1.035 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.8429, allocations: 7.984 kB / 1.035 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8429, allocations: 0 / 1.035 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.844, allocations: 0.5472 MB / 1.035 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.8441, allocations: 96.84 kB / 1.035 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.8441, allocations: 8 kB / 1.035 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.8443, allocations: 51.92 kB / 1.036 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.8445, allocations: 119.8 kB / 1.036 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.8446, allocations: 11.98 kB / 1.036 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.8446, allocations: 99.27 kB / 1.036 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8447, allocations: 0 / 1.036 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000392/0.845, allocations: 119.9 kB / 1.036 GB, free: 1.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003505/0.8454, allocations: 206.9 kB / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.8465, allocations: 0.5149 MB / 1.037 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8465, allocations: 0 / 1.037 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.8471, allocations: 288.6 kB / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.8475, allocations: 71.94 kB / 1.037 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.8482, allocations: 0.4939 MB / 1.037 GB, free: 240 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.8486, allocations: 0.737 MB / 1.038 GB, free: 15.47 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000445/0.849, allocations: 185.2 kB / 1.038 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.156e-05/0.8491, allocations: 35.41 kB / 1.038 GB, free: 15.26 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.8491, allocations: 0 / 1.038 GB, free: 15.26 MB / 0.795 GB Notification: Performance of Templates: time 0.00864/0.8578, allocations: 4.683 MB / 1.043 GB, free: 10.64 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