Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001584/0.001584, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 74.09 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002609/0.2916, allocations: 1.435 MB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.2952, allocations: 2.921 MB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.2953, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.195e-05/0.2954, allocations: 11.94 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2955, allocations: 39.8 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.2961, allocations: 155.4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.2964, allocations: 343.3 kB / 1.058 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.2965, allocations: 4 kB / 1.058 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2966, allocations: 83.86 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.2968, allocations: 143.7 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.2968, allocations: 8 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.2973, allocations: 151.7 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2974, allocations: 87.83 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.2975, allocations: 91.56 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2978, allocations: 187.9 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2978, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2978, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2978, allocations: 0 / 1.058 GB, free: 2.664 MB / 0.8106 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.0008269/0.2986, allocations: 0.5301 MB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2987, allocations: 15.91 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.2988, allocations: 16.75 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.2991, allocations: 244 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.2991, allocations: 24.36 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.2992, allocations: 16.38 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.2998, allocations: 285.3 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2998, allocations: 0 / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.2999, allocations: 8 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2999, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.3014, allocations: 0.749 MB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.3018, allocations: 313 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.3034, allocations: 0.6753 MB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.3039, allocations: 232.7 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.3043, allocations: 388.3 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3043, allocations: 46.48 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.3043, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001606/0.306, allocations: 0.6636 MB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.306, allocations: 55.41 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.3061, allocations: 126.1 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.3061, allocations: 33.7 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3062, allocations: 88.8 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3063, allocations: 130.1 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3064, allocations: 65.69 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3066, allocations: 326.8 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.3071, allocations: 195.8 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.3075, allocations: 207.5 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.3084, allocations: 365.2 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3084, allocations: 3.938 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001063/0.3095, allocations: 464.6 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3095, allocations: 4 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3095, allocations: 0 / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3096, allocations: 4 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.3099, allocations: 95.86 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.31, allocations: 4 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3101, allocations: 47.8 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3102, allocations: 15.98 kB / 1.064 GB, free: 12 MB / 0.8262 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.0001342/0.3103, allocations: 133.8 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.3104, allocations: 23.73 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.3115, allocations: 0.5172 MB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3115, allocations: 4 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3116, allocations: 7.938 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3116, allocations: 0 / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.3119, allocations: 309.3 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3119, allocations: 7.938 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.3123, allocations: 99.84 kB / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3123, allocations: 0 / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3123, allocations: 11.98 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3123, allocations: 3.938 kB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3123, allocations: 0 / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3134, allocations: 0.4923 MB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.3134, allocations: 100.8 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.3135, allocations: 8 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.3137, allocations: 35.97 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.3139, allocations: 115.8 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.3139, allocations: 15.98 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.225e-05/0.314, allocations: 99.27 kB / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.314, allocations: 0 / 1.066 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003804/0.3144, allocations: 115.9 kB / 1.066 GB, free: 9.82 MB / 0.8262 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.0003679/0.3148, allocations: 191 kB / 1.067 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.3158, allocations: 467.6 kB / 1.067 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3158, allocations: 0 / 1.067 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.3164, allocations: 271.8 kB / 1.067 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.3168, allocations: 77.58 kB / 1.067 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008638/0.3177, allocations: 0.5019 MB / 1.068 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.318, allocations: 0.7292 MB / 1.069 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3182, allocations: 47.39 kB / 1.069 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3182, allocations: 0 / 1.069 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of Templates: time 0.008022/0.3262, allocations: 4.733 MB / 1.073 GB, free: 2.812 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches