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.001467/0.001467, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001502/0.001502, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.842/2.842, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.714e-05, allocations: 6.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002801/0.002828, allocations: 1.386 MB / 0.9523 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.007353, allocations: 2.747 MB / 0.955 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.0074, allocations: 4 kB / 0.955 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.007511, allocations: 11.92 kB / 0.955 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.007647, allocations: 43.69 kB / 0.955 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.008415, allocations: 183.1 kB / 0.9552 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.008783, allocations: 255.3 kB / 0.9555 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.008832, allocations: 4 kB / 0.9555 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.009075, allocations: 115.8 kB / 0.9556 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.009298, allocations: 123.8 kB / 0.9557 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.009344, allocations: 12 kB / 0.9557 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.009834, allocations: 143.7 kB / 0.9558 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.009972, allocations: 99.77 kB / 0.9559 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.01009, allocations: 63.89 kB / 0.956 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.01064, allocations: 311.1 kB / 0.9563 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.01065, allocations: 0 / 0.9563 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01065, allocations: 0 / 0.9563 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.01066, allocations: 0 / 0.9563 GB, free: 6.055 MB / 0.8575 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.0009638/0.01162, allocations: 473.1 kB / 0.9568 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.01166, allocations: 12.03 kB / 0.9568 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01177, allocations: 16.84 kB / 0.9568 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.01206, allocations: 197.4 kB / 0.957 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.01211, allocations: 24.36 kB / 0.957 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.01214, allocations: 16.38 kB / 0.957 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.01289, allocations: 287.3 kB / 0.9573 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.0129, allocations: 192 / 0.9573 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.01293, allocations: 12.12 kB / 0.9573 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.01294, allocations: 4 kB / 0.9573 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.01465, allocations: 0.7256 MB / 0.958 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.01505, allocations: 217.1 kB / 0.9582 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.01699, allocations: 0.6525 MB / 0.9588 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.01757, allocations: 208.7 kB / 0.959 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.01787, allocations: 87.88 kB / 0.9591 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.01791, allocations: 34.56 kB / 0.9592 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.844e-06/0.01791, allocations: 0 / 0.9592 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001921/0.01984, allocations: 0.6496 MB / 0.9598 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.0199, allocations: 59.34 kB / 0.9599 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.02001, allocations: 122.1 kB / 0.96 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.02005, allocations: 37.69 kB / 0.96 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.02011, allocations: 92.73 kB / 0.9601 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.02024, allocations: 130.9 kB / 0.9602 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.02037, allocations: 65.69 kB / 0.9603 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.02053, allocations: 330.8 kB / 0.9606 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/0.02108, allocations: 191.8 kB / 0.9608 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.02163, allocations: 197.1 kB / 0.961 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.02267, allocations: 364.7 kB / 0.9613 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.02267, allocations: 0 / 0.9613 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001231/0.0239, allocations: 472.4 kB / 0.9618 GB, free: 284 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.02392, allocations: 4 kB / 0.9618 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.02393, allocations: 0 / 0.9618 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.02395, allocations: 4 kB / 0.9618 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.02437, allocations: 107.7 kB / 0.9619 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.02438, allocations: 0 / 0.9619 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.02459, allocations: 51.81 kB / 0.9619 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.02462, allocations: 11.98 kB / 0.9619 GB, free: 104 kB / 0.8575 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.0001885/0.02481, allocations: 141.8 kB / 0.9621 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.02486, allocations: 15.91 kB / 0.9621 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.02626, allocations: 0.5208 MB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.02626, allocations: 4 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.02627, allocations: 7.938 kB / 0.9626 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.02628, allocations: 3.984 kB / 0.9626 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.0266, allocations: 237 kB / 0.9628 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.0266, allocations: 0 / 0.9628 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.02697, allocations: 91.86 kB / 0.9629 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.02698, allocations: 0 / 0.9629 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.02701, allocations: 11.98 kB / 0.9629 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.02701, allocations: 4 kB / 0.9629 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.02701, allocations: 0 / 0.9629 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.0283, allocations: 0.4926 MB / 0.9634 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.02834, allocations: 35.83 kB / 0.9635 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.02838, allocations: 8 kB / 0.9635 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.02857, allocations: 39.89 kB / 0.9635 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.02884, allocations: 119.7 kB / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.02887, allocations: 15.98 kB / 0.9636 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.02895, allocations: 95.27 kB / 0.9637 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.02895, allocations: 0 / 0.9637 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004248/0.02938, allocations: 119.7 kB / 0.9638 GB, free: 14.09 MB / 0.8731 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.0004043/0.02978, allocations: 198.8 kB / 0.964 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.03104, allocations: 455.3 kB / 0.9645 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03104, allocations: 0 / 0.9645 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.03167, allocations: 247.7 kB / 0.9647 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.03213, allocations: 74.58 kB / 0.9648 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.03298, allocations: 415.6 kB / 0.9652 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.03312, allocations: 126.3 kB / 0.9653 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004269/0.03355, allocations: 186.9 kB / 0.9655 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.03367, allocations: 36.48 kB / 0.9655 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/0.03367, allocations: 0 / 0.9655 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.01151/0.04518, allocations: 5.483 MB / 0.9709 GB, free: 6.973 MB / 0.8731 GB " [Timeout remaining time 300] 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: 8.345957562327385]