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.002213/0.002213, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001884/0.001884, allocations: 219.7 kB / 22.26 MB, free: 5.117 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.984 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.943/2.943, allocations: 476.7 MB / 0.7706 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] 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.002118/0.002118, allocations: 63.16 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3762, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00336/0.3796, allocations: 1.424 MB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004568/0.3841, allocations: 2.994 MB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3842, allocations: 0 / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.825e-05/0.3843, allocations: 3.984 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3844, allocations: 47.8 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.3851, allocations: 191.1 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.3854, allocations: 243.5 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3854, allocations: 4 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.3856, allocations: 103.8 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3857, allocations: 123.7 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3858, allocations: 8 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.3862, allocations: 155.7 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3863, allocations: 83.78 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3864, allocations: 91.64 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.3868, allocations: 279 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3868, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3868, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3869, allocations: 4 kB / 1.289 GB, free: 5.496 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.001128/0.388, allocations: 471.2 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.388, allocations: 12.03 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3882, allocations: 20.83 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3885, allocations: 182.2 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.3885, allocations: 24.36 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.3885, allocations: 16.38 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.3892, allocations: 291.1 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3892, allocations: 4 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.3892, allocations: 4 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3893, allocations: 4 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.391, allocations: 0.7566 MB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.3914, allocations: 276.4 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3931, allocations: 0.6403 MB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.3936, allocations: 212.7 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.3939, allocations: 92.84 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3939, allocations: 34.5 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.804e-06/0.3939, allocations: 0 / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001726/0.3956, allocations: 0.6526 MB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3957, allocations: 55.41 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3958, allocations: 135.2 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.3959, allocations: 33.7 kB / 1.293 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.3959, allocations: 88.8 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3961, allocations: 126.9 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3962, allocations: 69.67 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.3964, allocations: 326.8 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.3969, allocations: 199.5 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.3974, allocations: 197.1 kB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.3983, allocations: 360.7 kB / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3983, allocations: 0 / 1.294 GB, free: 100 kB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00127/0.3996, allocations: 468.9 kB / 1.295 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3996, allocations: 6.031 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3996, allocations: 4 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3996, allocations: 4 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.4, allocations: 95.84 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4, allocations: 0 / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.4002, allocations: 59.67 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.4002, allocations: 12 kB / 1.295 GB, free: 15.45 MB / 0.9981 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.000145/0.4004, allocations: 145.8 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.4004, allocations: 23.84 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.4019, allocations: 0.5072 MB / 1.296 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.4019, allocations: 4 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4019, allocations: 0 / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.4019, allocations: 7.984 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.4023, allocations: 288.3 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4023, allocations: 0 / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.4026, allocations: 99.8 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4026, allocations: 0 / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.4027, allocations: 11.98 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4027, allocations: 4 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4027, allocations: 3.938 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.4038, allocations: 0.4886 MB / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.4039, allocations: 27.72 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.4039, allocations: 4 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4041, allocations: 43.95 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.4044, allocations: 119.8 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.4044, allocations: 15.98 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.553e-05/0.4045, allocations: 100.5 kB / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4045, allocations: 0 / 1.297 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004224/0.4049, allocations: 115.8 kB / 1.297 GB, free: 13.38 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.0003724/0.4053, allocations: 196.9 kB / 1.297 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.4064, allocations: 459.4 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4064, allocations: 3.938 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.407, allocations: 247.7 kB / 1.298 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4074, allocations: 71.92 kB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/0.4083, allocations: 442.8 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.4088, allocations: 0.7289 MB / 1.299 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.4092, allocations: 183.7 kB / 1.299 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.4093, allocations: 39.41 kB / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/0.4093, allocations: 0 / 1.299 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.01214/0.4214, allocations: 5.532 MB / 1.305 GB, free: 5.527 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/jenkins/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: 9.804034423083067]