Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00164/0.00164, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002427/0.002427, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.639/1.639, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00214/0.00214, allocations: 68.2 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4105, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002991/0.4134, allocations: 1.396 MB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.4179, allocations: 2.755 MB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.418, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.4181, allocations: 15.92 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.4182, allocations: 35.8 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.4189, allocations: 191.1 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.4192, allocations: 239.5 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.4193, allocations: 7.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.4194, allocations: 99.78 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.4196, allocations: 119.8 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.4196, allocations: 15.94 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.4201, allocations: 143.8 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.4202, allocations: 83.83 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.4203, allocations: 91.62 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.4207, allocations: 271.1 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4207, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4207, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4207, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 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.0009824/0.4217, allocations: 465.2 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4217, allocations: 19.95 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.4219, allocations: 28.78 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.4222, allocations: 170.3 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.4223, allocations: 28.36 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.4223, allocations: 16.38 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.4231, allocations: 293.6 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4231, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.4231, allocations: 8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4231, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.4247, allocations: 0.7256 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.4251, allocations: 236.8 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.4269, allocations: 0.644 MB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.4275, allocations: 212.7 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.4278, allocations: 79.95 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.4278, allocations: 34.56 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.794e-06/0.4278, allocations: 4 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001868/0.4297, allocations: 0.6546 MB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.4298, allocations: 59.39 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4299, allocations: 122.1 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.43, allocations: 29.7 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.43, allocations: 96.78 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.4302, allocations: 130.9 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.4303, allocations: 65.67 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4305, allocations: 326.8 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.431, allocations: 199.8 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.4316, allocations: 199.6 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.4326, allocations: 361.2 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4326, allocations: 0 / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001235/0.4338, allocations: 464.4 kB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4339, allocations: 11.94 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4339, allocations: 0 / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4339, allocations: 0 / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.4343, allocations: 103.8 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4343, allocations: 0 / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.4345, allocations: 55.73 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4345, allocations: 8 kB / 1.336 GB, free: 6.438 MB / 1.029 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.0001761/0.4347, allocations: 150.2 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.4347, allocations: 19.84 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.4361, allocations: 0.513 MB / 1.337 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4361, allocations: 4 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4361, allocations: 3.938 kB / 1.337 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4361, allocations: 3.984 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.4365, allocations: 233.1 kB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4365, allocations: 0 / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.4368, allocations: 99.86 kB / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4368, allocations: 0 / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.4368, allocations: 15.92 kB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4369, allocations: 4 kB / 1.337 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4369, allocations: 4 kB / 1.337 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4381, allocations: 0.4926 MB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.4381, allocations: 19.84 kB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.4382, allocations: 11.94 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.4383, allocations: 39.94 kB / 1.338 GB, free: 4.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.4386, allocations: 123.8 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.4386, allocations: 12 kB / 1.338 GB, free: 4.637 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.862e-05/0.4387, allocations: 103.2 kB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4387, allocations: 0 / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004106/0.4391, allocations: 111.8 kB / 1.338 GB, free: 4.426 MB / 1.029 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.0003575/0.4395, allocations: 190.9 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.4406, allocations: 455.3 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4406, allocations: 11.94 kB / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.4412, allocations: 240.3 kB / 1.339 GB, free: 3.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.4417, allocations: 77.48 kB / 1.339 GB, free: 3.465 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.4425, allocations: 427.6 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.4427, allocations: 118.5 kB / 1.34 GB, free: 2.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004414/0.4431, allocations: 186.6 kB / 1.34 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4432, allocations: 43.42 kB / 1.34 GB, free: 2.66 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4432, allocations: 0 / 1.34 GB, free: 2.66 MB / 1.029 GB Notification: Performance of Templates: time 0.01136/0.4546, allocations: 5.708 MB / 1.346 GB, free: 13.07 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.981975119560957]