Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.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.000889/0.000889, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.00204, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007794/0.0007794, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009808/0.00176, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.045/1.045, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.149, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.518/2.518, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2375/2.755, allocations: 145.9 MB / 0.817 GB, free: 4.195 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi|X_a_phi|d|eta|Tf|cp|lambda|Pr",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.144e-05, allocations: 4.844 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.003039/0.003061, allocations: 1.399 MB / 0.8196 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.004825, allocations: 1.223 MB / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.004865, allocations: 4 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.004879, allocations: 3.938 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.004934, allocations: 3.938 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.005488, allocations: 151.2 kB / 0.821 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.005619, allocations: 39.8 kB / 0.821 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.005669, allocations: 7.938 kB / 0.821 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.005763, allocations: 27.97 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.005807, allocations: 15.92 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.005821, allocations: 4 kB / 0.8211 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.006222, allocations: 155.8 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.006234, allocations: 7.938 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.006253, allocations: 8 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.00643, allocations: 119.7 kB / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.006445, allocations: 0 / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.322e-06/0.006446, allocations: 0 / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.006464, allocations: 0 / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003446/0.006809, allocations: 300.2 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.006837, allocations: 8.031 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.006863, allocations: 8.938 kB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.007072, allocations: 109.8 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.007083, allocations: 4.359 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.007092, allocations: 8.375 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.007173, allocations: 55.91 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.007181, allocations: 4.172 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.007188, allocations: 4.375 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.007196, allocations: 7.875 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.007234, allocations: 27.95 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.863e-05/0.007323, allocations: 81.83 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.007384, allocations: 61.11 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.007407, allocations: 21.78 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.007833, allocations: 248 kB / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.007855, allocations: 42.55 kB / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.007856, allocations: 0 / 0.8223 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001111/0.007967, allocations: 65.61 kB / 0.8224 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.007998, allocations: 81.11 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.008047, allocations: 98.72 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.008056, allocations: 25.7 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.008075, allocations: 84.14 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.008103, allocations: 31.72 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.008133, allocations: 25.66 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.008198, allocations: 322.8 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.008207, allocations: 4 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.008229, allocations: 21.7 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.008266, allocations: 38.12 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.008267, allocations: 0 / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 5.443e-05/0.008322, allocations: 69.59 kB / 0.8231 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.008331, allocations: 4 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.008335, allocations: 0 / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.008346, allocations: 4 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.008429, allocations: 16 kB / 0.8232 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.008433, allocations: 3.938 kB / 0.8232 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.008462, allocations: 19.81 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.008467, allocations: 0 / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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 6.096e-05/0.008528, allocations: 117.9 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.00854, allocations: 4 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.008649, allocations: 85.95 kB / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008651, allocations: 3.984 kB / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.008653, allocations: 4 kB / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008656, allocations: 0 / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.984e-05/0.008716, allocations: 73.8 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.00872, allocations: 7.984 kB / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.008751, allocations: 19.94 kB / 0.8235 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.00877, allocations: 11.92 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008771, allocations: 4.031 kB / 0.8235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.008777, allocations: 8 kB / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008778, allocations: 0 / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008779, allocations: 0 / 0.8235 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.305e-05/0.008842, allocations: 93.83 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.008849, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.008859, allocations: 4 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.008871, allocations: 7.984 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.008874, allocations: 4 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.006e-05/0.008884, allocations: 8.844 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.1e-07/0.008885, allocations: 0 / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000138/0.009023, allocations: 59.81 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0002194/0.009242, allocations: 160.1 kB / 0.8238 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.861e-05/0.009311, allocations: 40.7 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.009315, allocations: 4 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.009337, allocations: 24.91 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.009454, allocations: 23.98 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/0.01033, allocations: 181.2 kB / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.915e-05/0.01036, allocations: 63.22 kB / 0.8241 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.0104, allocations: 16.08 kB / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.01044, allocations: 67.36 kB / 0.8242 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.01044, allocations: 0 / 0.8242 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of Templates: time 0.003217/0.01366, allocations: 1.852 MB / 0.826 GB, free: 10.64 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.452828943729401]