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.0015/0.0015, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001716/0.001716, allocations: 207.2 kB / 23.03 MB, free: 4.863 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.076/3.076, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.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.002014/0.002014, allocations: 67.06 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003117/0.3464, allocations: 1.955 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3486, allocations: 1.313 MB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.3487, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.3494, allocations: 235.2 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009637/0.3503, allocations: 442.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.254e-06/0.3503, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.3507, allocations: 398.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.3508, allocations: 16.59 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.351, allocations: 143.4 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.3512, allocations: 199.1 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.3512, allocations: 24 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.3517, allocations: 283.6 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.3521, allocations: 371 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.3523, allocations: 250.7 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008929/0.3532, allocations: 0.852 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3532, allocations: 7.938 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3532, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.3532, allocations: 4 kB / 1.333 GB, free: 10.48 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.001246/0.3544, allocations: 0.8879 MB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3545, allocations: 8.031 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.3551, allocations: 132.4 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3561, allocations: 0.8543 MB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3561, allocations: 8.375 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.3562, allocations: 20.38 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/0.357, allocations: 0.6382 MB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.357, allocations: 3.938 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.357, allocations: 11.98 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.357, allocations: 4 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3584, allocations: 1.101 MB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.3608, allocations: 1.906 MB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007631/0.3616, allocations: 334.7 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.3619, allocations: 216.8 kB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.362, allocations: 27.98 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.362, allocations: 30.56 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/0.362, allocations: 3.938 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001233/0.3632, allocations: 0.711 MB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.3633, allocations: 55.41 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.3656, allocations: 2.059 MB / 1.342 GB, free: 1.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.3657, allocations: 33.7 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.366, allocations: 328.2 kB / 1.343 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.366, allocations: 63.44 kB / 1.343 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.3661, allocations: 57.69 kB / 1.343 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3663, allocations: 318 kB / 1.343 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.3669, allocations: 0.5311 MB / 1.344 GB, free: 15.99 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.3676, allocations: 0.5483 MB / 1.344 GB, free: 15.44 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009945/0.3686, allocations: 0.7719 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3686, allocations: 0 / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001493/0.3701, allocations: 1.212 MB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3701, allocations: 11.97 kB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3701, allocations: 0 / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3701, allocations: 0 / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.3704, allocations: 71.89 kB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3704, allocations: 0 / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.3707, allocations: 35.77 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.3708, allocations: 8 kB / 1.346 GB, free: 13.32 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.0002966/0.3711, allocations: 274.2 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.3712, allocations: 79.47 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009232/0.3721, allocations: 0.5349 MB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3721, allocations: 4 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3721, allocations: 0 / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3721, allocations: 3.938 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.3751, allocations: 2.458 MB / 1.349 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.3751, allocations: 4 kB / 1.349 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3754, allocations: 47.91 kB / 1.349 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.3754, allocations: 11.94 kB / 1.349 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.3754, allocations: 11.98 kB / 1.349 GB, free: 9.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.3754, allocations: 11.94 kB / 1.349 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3754, allocations: 4 kB / 1.349 GB, free: 9.766 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.3764, allocations: 0.6577 MB / 1.35 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3765, allocations: 83.5 kB / 1.35 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.3766, allocations: 15.98 kB / 1.35 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.3769, allocations: 15.98 kB / 1.35 GB, free: 8.922 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.377, allocations: 27.84 kB / 1.35 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.377, allocations: 16 kB / 1.35 GB, free: 8.879 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001608/0.3786, allocations: 1.585 MB / 1.352 GB, free: 7.301 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3786, allocations: 0 / 1.352 GB, free: 7.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005646/0.3792, allocations: 175.8 kB / 1.352 GB, free: 7.129 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.0003212/0.3795, allocations: 170.9 kB / 1.352 GB, free: 6.949 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.3806, allocations: 0.769 MB / 1.353 GB, free: 6.18 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3806, allocations: 0 / 1.353 GB, free: 6.18 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.3809, allocations: 224.6 kB / 1.353 GB, free: 5.961 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007776/0.3817, allocations: 175.1 kB / 1.353 GB, free: 5.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.3839, allocations: 1.421 MB / 1.355 GB, free: 4.277 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3843, allocations: 325 kB / 1.355 GB, free: 3.938 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.3844, allocations: 51.41 kB / 1.355 GB, free: 3.887 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.3844, allocations: 0 / 1.355 GB, free: 3.887 MB / 1.045 GB Notification: Performance of Templates: time 0.01371/0.3981, allocations: 8.905 MB / 1.364 GB, free: 11.05 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 -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: 12.065584875177592]