Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 222.6 kB / 23 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476 MB / 0.7707 GB, free: 4.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.66 kB / 1.118 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002498/0.2836, allocations: 1.382 MB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003898/0.2875, allocations: 2.768 MB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.2876, allocations: 0 / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.954e-05/0.2876, allocations: 11.92 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2877, allocations: 39.81 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.2883, allocations: 191.1 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.2886, allocations: 243.5 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.2887, allocations: 7.938 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2888, allocations: 95.8 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2889, allocations: 123.8 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.2889, allocations: 8 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.2893, allocations: 155.7 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2894, allocations: 87.77 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2895, allocations: 83.7 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.2899, allocations: 271.1 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2899, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2899, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2899, allocations: 0 / 1.289 GB, free: 6.449 MB / 0.9825 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.0008337/0.2907, allocations: 473.1 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2908, allocations: 11.97 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.2909, allocations: 20.84 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.2912, allocations: 178.3 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/0.2912, allocations: 28.3 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2913, allocations: 16.38 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.2919, allocations: 291.1 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2919, allocations: 0 / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.292, allocations: 4 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.292, allocations: 4 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.2935, allocations: 0.7254 MB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.2939, allocations: 233 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.2957, allocations: 0.6402 MB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.2962, allocations: 208.7 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.2965, allocations: 88.88 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.2965, allocations: 34.56 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.2965, allocations: 0 / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001721/0.2982, allocations: 0.6526 MB / 1.293 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.2983, allocations: 55.41 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.2984, allocations: 126.1 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2984, allocations: 29.7 kB / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.2985, allocations: 96.8 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.2986, allocations: 134.8 kB / 1.293 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.2987, allocations: 69.55 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2989, allocations: 330.8 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.2994, allocations: 199.5 kB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005111/0.2999, allocations: 193.1 kB / 1.294 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009652/0.3008, allocations: 364.7 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3009, allocations: 4 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001126/0.302, allocations: 453 kB / 1.295 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.302, allocations: 13.97 kB / 1.295 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.302, allocations: 0 / 1.295 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.302, allocations: 0 / 1.295 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3024, allocations: 103.8 kB / 1.295 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3024, allocations: 4 kB / 1.295 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3026, allocations: 51.78 kB / 1.295 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.3026, allocations: 15.98 kB / 1.295 GB, free: 0.5 MB / 0.9825 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.0001414/0.3028, allocations: 141.8 kB / 1.295 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.3028, allocations: 23.8 kB / 1.295 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.3041, allocations: 0.5232 MB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3041, allocations: 4 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3041, allocations: 3.938 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3041, allocations: 7.984 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.3045, allocations: 237 kB / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3045, allocations: 0 / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.3048, allocations: 95.86 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3049, allocations: 0 / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.3049, allocations: 15.92 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3049, allocations: 0 / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3049, allocations: 0 / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.306, allocations: 0.4886 MB / 1.296 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.3061, allocations: 19.84 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3061, allocations: 15.88 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.3063, allocations: 35.95 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.3065, allocations: 119.8 kB / 1.296 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.3066, allocations: 11.98 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.3066, allocations: 106.3 kB / 1.297 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3066, allocations: 0 / 1.297 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000448/0.3071, allocations: 119.7 kB / 1.297 GB, free: 14.48 MB / 0.9981 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.0003343/0.3074, allocations: 190.8 kB / 1.297 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.3085, allocations: 463.4 kB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3085, allocations: 0 / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.3091, allocations: 243.7 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3095, allocations: 79.92 kB / 1.298 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.3103, allocations: 460.5 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3104, allocations: 114.5 kB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3106, allocations: 51.33 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3106, allocations: 0 / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of Templates: time 0.00775/0.3183, allocations: 4.83 MB / 1.303 GB, free: 8.086 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.763430268038064]