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.001549/0.001549, 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.0019/0.0019, allocations: 218.8 kB / 22.25 MB, free: 5.121 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.969 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 2.947/2.947, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.001949/0.001949, allocations: 71.11 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3238, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002756/0.3266, allocations: 1.422 MB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004116/0.3307, allocations: 2.992 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.3307, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.741e-05/0.3308, allocations: 11.92 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3309, allocations: 35.81 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.3316, allocations: 203 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.332, allocations: 243.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.332, allocations: 7.938 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.3321, allocations: 87.81 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3323, allocations: 127.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.3323, allocations: 12 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.3327, allocations: 155.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3329, allocations: 91.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.333, allocations: 91.64 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.3334, allocations: 279 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3334, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3334, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.3334, allocations: 0 / 1.332 GB, free: 11.7 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.0008338/0.3342, allocations: 469.2 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3343, allocations: 12.03 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3344, allocations: 20.83 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3347, allocations: 170.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.3347, allocations: 24.36 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.3348, allocations: 24.31 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.3354, allocations: 297.6 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3354, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3354, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3354, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3369, allocations: 0.7452 MB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.3373, allocations: 284.1 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3388, allocations: 0.644 MB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/0.3393, allocations: 212.7 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.3396, allocations: 91.91 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3396, allocations: 46.48 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.343e-06/0.3396, allocations: 0 / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001568/0.3412, allocations: 0.6507 MB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3412, allocations: 55.41 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3414, allocations: 126.1 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3414, allocations: 33.7 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.3414, allocations: 88.8 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.3416, allocations: 138.8 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.3417, allocations: 61.69 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3418, allocations: 330.8 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.3423, allocations: 199.8 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.3428, allocations: 195.6 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/0.3436, allocations: 361.2 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3436, allocations: 0 / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001035/0.3447, allocations: 472.3 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3447, allocations: 4 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3447, allocations: 4 kB / 1.337 GB, free: 5.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3447, allocations: 4 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.3451, allocations: 99.84 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3451, allocations: 0 / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3452, allocations: 51.75 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3453, allocations: 19.98 kB / 1.338 GB, free: 5.652 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.0001337/0.3454, allocations: 138.3 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.3454, allocations: 19.84 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3466, allocations: 0.5102 MB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3467, allocations: 4 kB / 1.338 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3467, allocations: 3.938 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3467, allocations: 3.984 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.347, allocations: 288.4 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.347, allocations: 0 / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.3473, allocations: 107.8 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3473, allocations: 0 / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.3473, allocations: 11.98 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3473, allocations: 0 / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.3473, allocations: 4 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.3484, allocations: 0.4926 MB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.3484, allocations: 23.78 kB / 1.339 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3485, allocations: 4 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3486, allocations: 43.95 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.3488, allocations: 115.8 kB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.3489, allocations: 11.98 kB / 1.339 GB, free: 3.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.3489, allocations: 99.27 kB / 1.339 GB, free: 3.711 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3489, allocations: 0 / 1.339 GB, free: 3.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003691/0.3493, allocations: 123.7 kB / 1.34 GB, free: 3.59 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.0003214/0.3496, allocations: 186.9 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.3507, allocations: 455.3 kB / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3507, allocations: 0 / 1.34 GB, free: 2.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005211/0.3512, allocations: 252.3 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3516, allocations: 81.67 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007678/0.3523, allocations: 431.6 kB / 1.341 GB, free: 2.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.3527, allocations: 0.7327 MB / 1.342 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004208/0.3531, allocations: 179.8 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3532, allocations: 39.41 kB / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3532, allocations: 0 / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of Templates: time 0.01102/0.3642, allocations: 5.539 MB / 1.347 GB, free: 11.74 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: 8.40046912105754]