Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.00177/0.00177, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00223/0.00223, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.295/3.295, allocations: 0.49 GB / 0.7959 GB, free: 35.62 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.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [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.002049/0.002049, allocations: 70.8 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003434/0.3616, allocations: 1.956 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.3641, allocations: 1.301 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3642, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.3649, allocations: 247.1 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009898/0.3659, allocations: 446.5 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.704e-06/0.3659, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.3663, allocations: 390.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.3664, allocations: 8.594 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3665, allocations: 151.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.3668, allocations: 223 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.3669, allocations: 20 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.3674, allocations: 291.6 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.3677, allocations: 375 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.368, allocations: 254.6 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.369, allocations: 0.8559 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.369, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.369, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.369, allocations: 0 / 1.333 GB, free: 10.52 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.001405/0.3704, allocations: 0.884 MB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3705, allocations: 12.02 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.3711, allocations: 136.4 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.3723, allocations: 0.8543 MB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.3723, allocations: 16.36 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.3724, allocations: 12.38 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.3732, allocations: 0.6343 MB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3732, allocations: 7.875 kB / 1.336 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.3733, allocations: 8 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3733, allocations: 4 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.3747, allocations: 1.105 MB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.3774, allocations: 1.902 MB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008226/0.3782, allocations: 334.7 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.3786, allocations: 220.8 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.3786, allocations: 23.98 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3787, allocations: 34.5 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.3787, allocations: 4 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001287/0.38, allocations: 0.6988 MB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.38, allocations: 59.41 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.3826, allocations: 2.059 MB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3826, allocations: 29.7 kB / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.3829, allocations: 328.2 kB / 1.343 GB, free: 1.012 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/0.383, allocations: 67.42 kB / 1.343 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3831, allocations: 57.69 kB / 1.343 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3833, allocations: 318 kB / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.384, allocations: 0.5349 MB / 1.343 GB, free: 32 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007224/0.3847, allocations: 0.56 MB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3858, allocations: 0.7602 MB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3858, allocations: 11.94 kB / 1.345 GB, free: 14.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001604/0.3874, allocations: 1.212 MB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3874, allocations: 7.938 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3874, allocations: 0 / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3874, allocations: 4 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.3878, allocations: 67.89 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3878, allocations: 4.031 kB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.3881, allocations: 35.77 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3882, allocations: 15.97 kB / 1.346 GB, free: 13.34 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.0003172/0.3885, allocations: 266.3 kB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3886, allocations: 75.47 kB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/0.3896, allocations: 0.5401 MB / 1.347 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3896, allocations: 7.984 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3896, allocations: 0 / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3896, allocations: 3.984 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.3928, allocations: 2.449 MB / 1.349 GB, free: 9.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3928, allocations: 4 kB / 1.349 GB, free: 9.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.3931, allocations: 52.48 kB / 1.349 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.3931, allocations: 15.94 kB / 1.349 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.3931, allocations: 12 kB / 1.349 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.3931, allocations: 4 kB / 1.349 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.3931, allocations: 7.938 kB / 1.349 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3942, allocations: 0.66 MB / 1.35 GB, free: 9.055 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.3943, allocations: 83.48 kB / 1.35 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.3944, allocations: 8 kB / 1.35 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.3948, allocations: 19.98 kB / 1.35 GB, free: 8.945 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.3948, allocations: 31.84 kB / 1.35 GB, free: 8.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3948, allocations: 8 kB / 1.35 GB, free: 8.906 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001733/0.3966, allocations: 1.588 MB / 1.352 GB, free: 7.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3966, allocations: 0 / 1.352 GB, free: 7.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006007/0.3972, allocations: 171.9 kB / 1.352 GB, free: 7.156 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0003596/0.3975, allocations: 174.9 kB / 1.352 GB, free: 6.973 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.3987, allocations: 0.7666 MB / 1.353 GB, free: 6.207 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3987, allocations: 0 / 1.353 GB, free: 6.207 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.3991, allocations: 224 kB / 1.353 GB, free: 5.988 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008337/0.3999, allocations: 167.8 kB / 1.353 GB, free: 5.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.4024, allocations: 1.626 MB / 1.355 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.4029, allocations: 407.1 kB / 1.355 GB, free: 3.691 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002345/0.4031, allocations: 88.38 kB / 1.355 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4033, allocations: 39.42 kB / 1.355 GB, free: 3.562 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.4033, allocations: 0 / 1.355 GB, free: 3.562 MB / 1.045 GB Notification: Performance of Templates: time 0.02073/0.424, allocations: 11.86 MB / 1.367 GB, free: 7.898 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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: 9.245686135996948]