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.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.001443/0.001443, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001596/0.001596, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.901/2.901, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001929/0.001929, allocations: 70.41 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.293, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002405/0.2954, allocations: 1.419 MB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.2991, allocations: 2.993 MB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.2991, allocations: 0 / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.972e-05/0.2992, allocations: 7.922 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2993, allocations: 47.81 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.2998, allocations: 183.1 kB / 1.359 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.3001, allocations: 247.5 kB / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.3001, allocations: 11.92 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3002, allocations: 95.8 kB / 1.359 GB, free: 2.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3004, allocations: 119.8 kB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.3004, allocations: 12 kB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.3008, allocations: 163.7 kB / 1.359 GB, free: 2.652 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.3009, allocations: 83.78 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.301, allocations: 91.64 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.3013, allocations: 267.1 kB / 1.36 GB, free: 2.219 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3013, allocations: 0 / 1.36 GB, free: 2.219 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3013, allocations: 0 / 1.36 GB, free: 2.219 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3013, allocations: 7.984 kB / 1.36 GB, free: 2.211 MB / 1.045 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.0008463/0.3022, allocations: 469.1 kB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.3022, allocations: 12.03 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3023, allocations: 16.84 kB / 1.36 GB, free: 1.695 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3026, allocations: 190.2 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.3026, allocations: 24.36 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.3026, allocations: 16.38 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.3033, allocations: 297 kB / 1.361 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3033, allocations: 0 / 1.361 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3033, allocations: 7.938 kB / 1.361 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3033, allocations: 7.984 kB / 1.361 GB, free: 1.133 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.3048, allocations: 0.7491 MB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3052, allocations: 280.2 kB / 1.362 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.3067, allocations: 0.649 MB / 1.362 GB, free: 15.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.3072, allocations: 216.7 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.3074, allocations: 79.92 kB / 1.363 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3075, allocations: 42.48 kB / 1.363 GB, free: 15.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.263e-06/0.3075, allocations: 0 / 1.363 GB, free: 15.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001574/0.3091, allocations: 0.6508 MB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3091, allocations: 55.41 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.3092, allocations: 126.1 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.3092, allocations: 33.64 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.3093, allocations: 88.8 kB / 1.364 GB, free: 14.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3094, allocations: 130.9 kB / 1.364 GB, free: 13.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.3095, allocations: 65.69 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3096, allocations: 326.8 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.3101, allocations: 195.8 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.3105, allocations: 203.9 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/0.3114, allocations: 360.3 kB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3114, allocations: 0 / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00105/0.3125, allocations: 473 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3125, allocations: 4 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3125, allocations: 0 / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3125, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.3128, allocations: 95.84 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3128, allocations: 0 / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.313, allocations: 55.75 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.313, allocations: 15.98 kB / 1.365 GB, free: 12.16 MB / 1.061 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.0001257/0.3132, allocations: 141.7 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3132, allocations: 23.84 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.3144, allocations: 0.5088 MB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3144, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3144, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3144, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.3147, allocations: 288.4 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3147, allocations: 7.938 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.315, allocations: 99.78 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.315, allocations: 0 / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3151, allocations: 15.98 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.3151, allocations: 4 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3151, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3161, allocations: 0.4965 MB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.3161, allocations: 31.77 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.3162, allocations: 7.938 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3163, allocations: 35.95 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.3165, allocations: 115.8 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.3166, allocations: 15.98 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.289e-05/0.3166, allocations: 99.27 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3166, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000343/0.317, allocations: 119.7 kB / 1.367 GB, free: 10.08 MB / 1.061 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.0002968/0.3173, allocations: 190.9 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.3183, allocations: 451.3 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3183, allocations: 0 / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005121/0.3188, allocations: 248.6 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3192, allocations: 79.91 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.3199, allocations: 460.4 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.3203, allocations: 0.7289 MB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3205, allocations: 51.41 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3205, allocations: 4 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of Templates: time 0.007229/0.3277, allocations: 4.772 MB / 1.374 GB, free: 3.121 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.589255511004012]