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.001315/0.001315, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.00143/0.00143, allocations: 189.5 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 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.465/2.465, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.12 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 151.7 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002516/0.3278, allocations: 1.381 MB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.3314, allocations: 2.911 MB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.3315, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.3317, allocations: 11.92 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3319, allocations: 35.81 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000816/0.3327, allocations: 195.1 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.3331, allocations: 243.5 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.3331, allocations: 4 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.3332, allocations: 99.83 kB / 1.024 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3334, allocations: 123.7 kB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.3335, allocations: 8 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.334, allocations: 135.9 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3341, allocations: 83.81 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3342, allocations: 95.58 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.3346, allocations: 279.2 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3346, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3346, allocations: 0 / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3346, allocations: 4 kB / 1.024 GB, free: 4.254 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.0008397/0.3355, allocations: 0.5261 MB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3355, allocations: 8.922 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3356, allocations: 16.75 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.336, allocations: 244 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/0.336, allocations: 24.36 kB / 1.025 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3361, allocations: 16.38 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/0.3367, allocations: 290.8 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3367, allocations: 0 / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3367, allocations: 4 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.3367, allocations: 8 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.3381, allocations: 0.7491 MB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3385, allocations: 305 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.34, allocations: 0.6763 MB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.3405, allocations: 236.4 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.3409, allocations: 388.3 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.341, allocations: 42.44 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of pre-optimization done (n=37): time 1.523e-06/0.341, allocations: 4 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of matching and sorting (n=37): time 0.001508/0.3425, allocations: 0.6459 MB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3425, allocations: 55.41 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3426, allocations: 131.3 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3427, allocations: 33.7 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.3427, allocations: 88.8 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.3428, allocations: 130.1 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-05/0.3429, allocations: 65.69 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3431, allocations: 326.8 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.3436, allocations: 191.8 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.344, allocations: 204.8 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.3449, allocations: 364.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3449, allocations: 3.938 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001001/0.3459, allocations: 472.3 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3459, allocations: 4 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.346, allocations: 0 / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.346, allocations: 4 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.3463, allocations: 95.86 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3463, allocations: 0 / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3465, allocations: 55.7 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.3465, allocations: 11.98 kB / 1.03 GB, free: 13.61 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.0001195/0.3467, allocations: 137.8 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3468, allocations: 27.73 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.348, allocations: 0.5063 MB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.348, allocations: 4 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.348, allocations: 4 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.348, allocations: 0 / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.3484, allocations: 317.2 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3484, allocations: 0 / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.3487, allocations: 99.78 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3487, allocations: 4 kB / 1.031 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.3488, allocations: 23.92 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3488, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3488, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.3498, allocations: 0.4887 MB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.3499, allocations: 100.8 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.35, allocations: 8 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3501, allocations: 31.97 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.3504, allocations: 119.8 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.3504, allocations: 19.98 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.441e-05/0.3505, allocations: 96.27 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.515e-06/0.3505, allocations: 0 / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003617/0.3509, allocations: 119.9 kB / 1.032 GB, free: 11.42 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.0003337/0.3512, allocations: 195.1 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.3523, allocations: 467.2 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3523, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.3528, allocations: 263.4 kB / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.3532, allocations: 75.86 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.3541, allocations: 422.5 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.3545, allocations: 0.7328 MB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003669/0.3549, allocations: 188.2 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.355, allocations: 35.42 kB / 1.035 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.355, allocations: 4 kB / 1.035 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.01003/0.365, allocations: 5.271 MB / 1.04 GB, free: 3.82 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 cvode -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