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.001514/0.001514, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00178/0.00178, allocations: 216 kB / 22.99 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.098/3.098, allocations: 0.4892 GB / 0.7951 GB, free: 35.49 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.00206/0.00206, allocations: 64.72 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002714/0.3297, allocations: 1.404 MB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003821/0.3335, allocations: 2.759 MB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.3336, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.982e-05/0.3337, allocations: 3.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3338, allocations: 43.73 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.3344, allocations: 195.1 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.3347, allocations: 239.5 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3347, allocations: 3.938 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3349, allocations: 99.78 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.335, allocations: 119.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.3351, allocations: 12 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.3354, allocations: 143.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3355, allocations: 91.75 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3356, allocations: 87.64 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.336, allocations: 275.1 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.336, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.336, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.336, allocations: 4 kB / 1.332 GB, free: 12.4 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.0008707/0.3369, allocations: 469.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3369, allocations: 12.03 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.3371, allocations: 16.84 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.3374, allocations: 174.3 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.3374, allocations: 24.36 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.3374, allocations: 20.36 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.3381, allocations: 293.6 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3381, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.3381, allocations: 8 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3381, allocations: 4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.3397, allocations: 0.7217 MB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.34, allocations: 228.8 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.3417, allocations: 0.6527 MB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.3422, allocations: 208.7 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.3425, allocations: 87.88 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3425, allocations: 38.56 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.3425, allocations: 0 / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001675/0.3442, allocations: 0.6585 MB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3442, allocations: 55.41 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3444, allocations: 124.8 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3444, allocations: 29.7 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.3444, allocations: 92.78 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3446, allocations: 130.9 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3447, allocations: 69.67 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3448, allocations: 330.8 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.3453, allocations: 191.8 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.3458, allocations: 211.5 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008837/0.3466, allocations: 357.2 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3466, allocations: 0 / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001084/0.3477, allocations: 468.4 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3477, allocations: 7.938 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3478, allocations: 3.984 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3478, allocations: 4 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.3481, allocations: 95.86 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3481, allocations: 0 / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.3483, allocations: 59.73 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3484, allocations: 11.98 kB / 1.337 GB, free: 6.445 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.0001377/0.3485, allocations: 138.3 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.3485, allocations: 23.84 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.3497, allocations: 0.5025 MB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3497, allocations: 4 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3497, allocations: 0 / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3497, allocations: 3.984 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.35, allocations: 233.1 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.35, allocations: 4 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.3504, allocations: 95.86 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3504, allocations: 3.984 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.3504, allocations: 15.94 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.3504, allocations: 4 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3504, allocations: 0 / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.3515, allocations: 0.5004 MB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.3516, allocations: 15.84 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.3516, allocations: 11.94 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3518, allocations: 39.95 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.352, allocations: 119.8 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.352, allocations: 15.98 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.3521, allocations: 95.27 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3521, allocations: 0 / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003703/0.3525, allocations: 115.8 kB / 1.339 GB, free: 4.453 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.0003314/0.3528, allocations: 202.8 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.3539, allocations: 447.3 kB / 1.34 GB, free: 3.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3539, allocations: 0 / 1.34 GB, free: 3.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.3544, allocations: 244.3 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3548, allocations: 87.84 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.3556, allocations: 461.3 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.3558, allocations: 118.5 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3559, allocations: 47.41 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.3559, allocations: 0 / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of Templates: time 0.00848/0.3644, allocations: 4.844 MB / 1.345 GB, free: 14.04 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/jenkins1/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: 11.787033409811556]