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.001426/0.001426, allocations: 78.73 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.00151/0.00151, allocations: 161.6 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.54/1.54, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.941/2.941, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.043e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002816/0.002856, allocations: 1.387 MB / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004164/0.00702, allocations: 2.766 MB / 0.9855 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.007073, allocations: 0 / 0.9855 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.007179, allocations: 15.86 kB / 0.9855 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.007358, allocations: 39.75 kB / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.00806, allocations: 191 kB / 0.9857 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.008345, allocations: 247.4 kB / 0.9859 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.008388, allocations: 7.984 kB / 0.9859 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.008536, allocations: 115.8 kB / 0.986 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.0087, allocations: 115.8 kB / 0.9862 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.008743, allocations: 12 kB / 0.9862 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.00917, allocations: 151.7 kB / 0.9863 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.009298, allocations: 99.78 kB / 0.9864 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.009411, allocations: 67.89 kB / 0.9865 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.009865, allocations: 303.1 kB / 0.9868 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.009869, allocations: 0 / 0.9868 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.009871, allocations: 0 / 0.9868 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.009877, allocations: 0 / 0.9868 GB, free: 6.441 MB / 0.9356 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.0009061/0.01078, allocations: 469.2 kB / 0.9872 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.01082, allocations: 8.031 kB / 0.9872 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.01094, allocations: 24.8 kB / 0.9872 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.01122, allocations: 185.5 kB / 0.9874 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.01127, allocations: 24.36 kB / 0.9874 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.0113, allocations: 12.38 kB / 0.9875 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007158/0.01202, allocations: 283.5 kB / 0.9877 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.01203, allocations: 4.125 kB / 0.9877 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.01206, allocations: 16.12 kB / 0.9877 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.01208, allocations: 7.984 kB / 0.9878 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.01371, allocations: 0.7254 MB / 0.9885 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.0141, allocations: 221.1 kB / 0.9887 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.01595, allocations: 0.6441 MB / 0.9893 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/0.01651, allocations: 213.3 kB / 0.9895 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.01682, allocations: 76.89 kB / 0.9896 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.01686, allocations: 38.56 kB / 0.9896 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.01686, allocations: 3.938 kB / 0.9896 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37): time 0.00186/0.01872, allocations: 0.6565 MB / 0.9903 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.01878, allocations: 59.34 kB / 0.9903 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.0189, allocations: 132.6 kB / 0.9904 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.01893, allocations: 33.7 kB / 0.9905 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.01899, allocations: 84.8 kB / 0.9906 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.01912, allocations: 126.9 kB / 0.9907 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.01923, allocations: 69.67 kB / 0.9907 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.01938, allocations: 330.8 kB / 0.9911 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.01992, allocations: 199.5 kB / 0.9912 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.02046, allocations: 201 kB / 0.9914 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.02146, allocations: 368.6 kB / 0.9918 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.02146, allocations: 0 / 0.9918 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001226/0.02269, allocations: 457 kB / 0.9922 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.02271, allocations: 4 kB / 0.9922 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.02272, allocations: 0 / 0.9922 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.02273, allocations: 7.938 kB / 0.9922 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.02315, allocations: 99.78 kB / 0.9923 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.02316, allocations: 0 / 0.9923 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.02338, allocations: 63.73 kB / 0.9924 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.02342, allocations: 8 kB / 0.9924 GB, free: 0.4922 MB / 0.9356 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.0001477/0.02356, allocations: 141.8 kB / 0.9925 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.02361, allocations: 19.91 kB / 0.9926 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.02496, allocations: 0.5101 MB / 0.9931 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.02497, allocations: 4 kB / 0.9931 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.02498, allocations: 7.875 kB / 0.9931 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.02499, allocations: 7.984 kB / 0.9931 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.0253, allocations: 233.1 kB / 0.9933 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0253, allocations: 0 / 0.9933 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.02567, allocations: 95.86 kB / 0.9934 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.02568, allocations: 4 kB / 0.9934 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.0257, allocations: 11.98 kB / 0.9934 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.0257, allocations: 0 / 0.9934 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02571, allocations: 0 / 0.9934 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.02693, allocations: 0.4886 MB / 0.9939 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.02696, allocations: 15.84 kB / 0.9939 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.02701, allocations: 12 kB / 0.9939 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.0272, allocations: 39.95 kB / 0.9939 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.02746, allocations: 123.7 kB / 0.9941 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.02749, allocations: 12 kB / 0.9941 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.69e-05/0.02757, allocations: 103.1 kB / 0.9942 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.02757, allocations: 0 / 0.9942 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003999/0.02797, allocations: 115.8 kB / 0.9943 GB, free: 14.5 MB / 0.9512 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.0005039/0.02847, allocations: 202.8 kB / 0.9945 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.03004, allocations: 459.4 kB / 0.9949 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.03004, allocations: 0 / 0.9949 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009779/0.03102, allocations: 243.7 kB / 0.9951 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.03163, allocations: 79.86 kB / 0.9952 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.03275, allocations: 422.2 kB / 0.9956 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.03295, allocations: 122.6 kB / 0.9957 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006832/0.03364, allocations: 189 kB / 0.9959 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.0338, allocations: 36.48 kB / 0.996 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of SimCode: time 1.022e-06/0.0338, allocations: 0 / 0.996 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.01666/0.05046, allocations: 5.501 MB / 1.001 GB, free: 7.352 MB / 0.9512 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.689438819885254]