Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001896/0.001896, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.003062/0.003062, allocations: 212.3 kB / 23 MB, free: 4.969 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.593/3.593, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [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.002151/0.002151, allocations: 67.23 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4799/0.482, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004787/0.4868, allocations: 2.065 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.4901, allocations: 1.309 MB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.4904, allocations: 0 / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.4914, allocations: 247 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.493, allocations: 450.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 2.155e-05/0.493, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.4937, allocations: 394.5 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.4938, allocations: 12.59 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.4941, allocations: 143.4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.4945, allocations: 211.1 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.4946, allocations: 24 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007387/0.4953, allocations: 303.6 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004696/0.4958, allocations: 371 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.4963, allocations: 250.6 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.4977, allocations: 0.8559 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.4977, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4977, allocations: 4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.521e-05/0.4977, allocations: 0 / 1.334 GB, free: 10.36 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001995/0.4997, allocations: 0.8879 MB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.4998, allocations: 8.031 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.5006, allocations: 132.4 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.502, allocations: 0.8621 MB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5021, allocations: 12.38 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.5021, allocations: 16.38 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.5031, allocations: 0.6382 MB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5031, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.5031, allocations: 4 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5031, allocations: 8 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.5049, allocations: 1.101 MB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/0.5082, allocations: 1.914 MB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008921/0.5091, allocations: 335 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.5096, allocations: 220.8 kB / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/0.5096, allocations: 27.92 kB / 1.34 GB, free: 4.098 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.5097, allocations: 34.56 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 3.747e-06/0.5097, allocations: 0 / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001505/0.5112, allocations: 0.7019 MB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5112, allocations: 51.41 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.5145, allocations: 2.067 MB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.5145, allocations: 29.7 kB / 1.342 GB, free: 1.172 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.5149, allocations: 328.2 kB / 1.343 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.008e-05/0.5149, allocations: 67.42 kB / 1.343 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.5151, allocations: 57.69 kB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.5153, allocations: 310 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.516, allocations: 0.5388 MB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.5168, allocations: 0.556 MB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.5179, allocations: 0.7641 MB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5179, allocations: 4 kB / 1.345 GB, free: 14.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001685/0.5196, allocations: 1.204 MB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.5196, allocations: 8 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5196, allocations: 3.938 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.5196, allocations: 0 / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.52, allocations: 63.89 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.52, allocations: 8.031 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.5204, allocations: 39.75 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.5204, allocations: 12 kB / 1.346 GB, free: 13.19 MB / 1.045 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 (30): * Single equations (assignments): 30 * 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.0003566/0.5208, allocations: 274.2 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.5209, allocations: 71.53 kB / 1.347 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009876/0.5219, allocations: 0.5387 MB / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5219, allocations: 7.938 kB / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5219, allocations: 0 / 1.347 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.5221, allocations: 79.5 kB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.688e-05/0.5221, allocations: 4 kB / 1.347 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.5225, allocations: 15.97 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.5225, allocations: 11.98 kB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009548/0.5235, allocations: 0.5488 MB / 1.348 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009681/0.5244, allocations: 0.6796 MB / 1.348 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003753/0.5248, allocations: 211.8 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001983/0.5268, allocations: 1.585 MB / 1.35 GB, free: 9.137 MB / 1.045 GB Notification: Performance of Backend: time 1.202e-06/0.5268, allocations: 0 / 1.35 GB, free: 9.137 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.5284, allocations: 0.702 MB / 1.351 GB, free: 8.426 MB / 1.045 GB Notification: Performance of SimCode: time 0.002908/0.5313, allocations: 1.946 MB / 1.353 GB, free: 6.426 MB / 1.045 GB Notification: Performance of Templates: time 0.02472/0.556, allocations: 13.27 MB / 1.366 GB, free: 9.352 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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: 10.736370365004404]