Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001838/0.001838, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001976/0.001976, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.6/1.6, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.919/2.919, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.939e-05/4.241e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00324/0.003282, allocations: 1.417 MB / 0.7877 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004692/0.007974, allocations: 2.982 MB / 0.7906 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.008011, allocations: 0 / 0.7906 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.008113, allocations: 7.984 kB / 0.7907 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.00825, allocations: 48.83 kB / 0.7907 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.008927, allocations: 196.3 kB / 0.7909 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.00924, allocations: 239.5 kB / 0.7911 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.009286, allocations: 5.75 kB / 0.7911 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.009456, allocations: 115.8 kB / 0.7912 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.009641, allocations: 123.8 kB / 0.7914 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.009684, allocations: 12 kB / 0.7914 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.01012, allocations: 144.7 kB / 0.7915 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.01027, allocations: 99.78 kB / 0.7916 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.01039, allocations: 71.89 kB / 0.7917 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.01088, allocations: 307.6 kB / 0.792 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01089, allocations: 1.25 kB / 0.792 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01089, allocations: 0 / 0.792 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.01089, allocations: 0 / 0.792 GB, free: 7.074 MB / 0.7448 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.001071/0.01196, allocations: 0.5685 MB / 0.7925 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.012, allocations: 8.031 kB / 0.7925 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.0122, allocations: 28.84 kB / 0.7926 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.01252, allocations: 188.3 kB / 0.7927 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.01258, allocations: 24.86 kB / 0.7928 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.01261, allocations: 14.31 kB / 0.7928 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.01326, allocations: 232.3 kB / 0.793 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01327, allocations: 192 / 0.793 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.0133, allocations: 12.12 kB / 0.793 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01331, allocations: 7.938 kB / 0.793 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.01484, allocations: 0.6356 MB / 0.7936 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.01519, allocations: 196.4 kB / 0.7938 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.01701, allocations: 0.5749 MB / 0.7944 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/0.01753, allocations: 165.4 kB / 0.7945 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.01786, allocations: 83.88 kB / 0.7946 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.01789, allocations: 37.39 kB / 0.7947 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.0179, allocations: 1 kB / 0.7947 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.001747/0.01964, allocations: 0.5249 MB / 0.7952 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.01971, allocations: 59.34 kB / 0.7952 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.0199, allocations: 189.5 kB / 0.7954 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.01994, allocations: 33.7 kB / 0.7954 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.02002, allocations: 135.5 kB / 0.7956 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.02018, allocations: 132 kB / 0.7957 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.0203, allocations: 67.34 kB / 0.7958 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002928/0.0206, allocations: 0.5001 MB / 0.7962 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.02107, allocations: 139.9 kB / 0.7964 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/0.02154, allocations: 145.1 kB / 0.7965 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.02245, allocations: 271.5 kB / 0.7968 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02246, allocations: 8 kB / 0.7968 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001126/0.02358, allocations: 376.8 kB / 0.7971 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.0236, allocations: 4 kB / 0.7971 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.02361, allocations: 0 / 0.7971 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.02363, allocations: 4 kB / 0.7971 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.02415, allocations: 107.8 kB / 0.7973 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.02416, allocations: 0 / 0.7973 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.02439, allocations: 55.84 kB / 0.7973 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.02442, allocations: 8 kB / 0.7973 GB, free: 1.418 MB / 0.7448 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.0001577/0.02458, allocations: 176.5 kB / 0.7975 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.02464, allocations: 27.91 kB / 0.7975 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.02588, allocations: 430.4 kB / 0.7979 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.02589, allocations: 4 kB / 0.7979 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.0259, allocations: 7.875 kB / 0.7979 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.0259, allocations: 3.984 kB / 0.7979 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.0262, allocations: 200.4 kB / 0.7981 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.02621, allocations: 7.984 kB / 0.7981 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.02659, allocations: 103.9 kB / 0.7982 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.0266, allocations: 4 kB / 0.7982 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.02663, allocations: 11.98 kB / 0.7982 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.02663, allocations: 0 / 0.7982 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.02663, allocations: 0 / 0.7982 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.02784, allocations: 443.9 kB / 0.7987 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.02788, allocations: 19.84 kB / 0.7987 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.02793, allocations: 11.98 kB / 0.7987 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.02813, allocations: 39.97 kB / 0.7987 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.02844, allocations: 135.7 kB / 0.7989 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.02847, allocations: 19.98 kB / 0.7989 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001064/0.02858, allocations: 136.4 kB / 0.799 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02858, allocations: 0 / 0.799 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004434/0.02902, allocations: 119.8 kB / 0.7991 GB, free: 15.48 MB / 0.7605 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.0004227/0.02945, allocations: 194.9 kB / 0.7993 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.03056, allocations: 371.1 kB / 0.7997 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03057, allocations: 0 / 0.7997 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.03114, allocations: 212.3 kB / 0.7999 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.03158, allocations: 99.84 kB / 0.8 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.03236, allocations: 363.5 kB / 0.8003 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.03249, allocations: 118.6 kB / 0.8004 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004191/0.0329, allocations: 163 kB / 0.8006 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.03302, allocations: 40.47 kB / 0.8006 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/0.03302, allocations: 0 / 0.8006 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of Templates: time 0.01197/0.04498, allocations: 5.498 MB / 0.806 GB, free: 8.523 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.409612256102264]