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.001808/0.001808, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002253/0.002253, allocations: 215.1 kB / 22.99 MB, free: 4.945 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.377/3.377, allocations: 0.4892 GB / 0.7951 GB, free: 35.7 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.002132/0.002132, allocations: 67.56 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 176.1 MB / 1.326 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003513/0.3721, allocations: 2.069 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.3746, allocations: 1.305 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3747, allocations: 7.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.3753, allocations: 239.1 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.3764, allocations: 445.8 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.053e-06/0.3764, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.3768, allocations: 394.5 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.018e-05/0.3769, allocations: 12.59 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.377, allocations: 139.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3773, allocations: 207.1 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.3773, allocations: 24 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005786/0.3779, allocations: 283.6 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.3783, allocations: 375 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.3785, allocations: 246.6 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009894/0.3795, allocations: 0.8559 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.3795, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3795, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3795, allocations: 0 / 1.333 GB, free: 11.21 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.001303/0.3808, allocations: 0.8917 MB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3809, allocations: 8.031 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.3815, allocations: 136.4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.3825, allocations: 0.8543 MB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3826, allocations: 12.38 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.3826, allocations: 16.38 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.3835, allocations: 0.6343 MB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3835, allocations: 4 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.3835, allocations: 12 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.3835, allocations: 7.984 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.3849, allocations: 1.097 MB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.3876, allocations: 1.91 MB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.3883, allocations: 335.9 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.3887, allocations: 216.8 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.3888, allocations: 23.98 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3888, allocations: 34.55 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.3888, allocations: 0 / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001309/0.3901, allocations: 0.7058 MB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3902, allocations: 59.34 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.3927, allocations: 2.063 MB / 1.341 GB, free: 2.055 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3927, allocations: 33.7 kB / 1.342 GB, free: 2.016 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.393, allocations: 324.2 kB / 1.342 GB, free: 1.691 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.3931, allocations: 71.42 kB / 1.342 GB, free: 1.621 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3932, allocations: 57.69 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3934, allocations: 318 kB / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.3941, allocations: 0.531 MB / 1.343 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.3948, allocations: 0.5483 MB / 1.343 GB, free: 160 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3958, allocations: 0.772 MB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3958, allocations: 0 / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001602/0.3974, allocations: 1.208 MB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3974, allocations: 7.938 kB / 1.345 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3975, allocations: 0 / 1.345 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3975, allocations: 8.031 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.3978, allocations: 71.83 kB / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3978, allocations: 0 / 1.345 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.3982, allocations: 35.77 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.3982, allocations: 11.98 kB / 1.345 GB, free: 14.03 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.0003328/0.3985, allocations: 270.2 kB / 1.346 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3986, allocations: 75.47 kB / 1.346 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/0.3996, allocations: 0.5403 MB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3996, allocations: 4 kB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3996, allocations: 0 / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3996, allocations: 3.984 kB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.4028, allocations: 2.45 MB / 1.349 GB, free: 10.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.4028, allocations: 8.125 kB / 1.349 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.4031, allocations: 51.89 kB / 1.349 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.4031, allocations: 11.94 kB / 1.349 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.4031, allocations: 8 kB / 1.349 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.4031, allocations: 11.94 kB / 1.349 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4031, allocations: 4 kB / 1.349 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.4041, allocations: 0.656 MB / 1.349 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.4043, allocations: 87.48 kB / 1.349 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.4044, allocations: 12 kB / 1.349 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.4047, allocations: 15.98 kB / 1.349 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.4048, allocations: 27.84 kB / 1.35 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4048, allocations: 12 kB / 1.35 GB, free: 9.602 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001761/0.4066, allocations: 1.585 MB / 1.351 GB, free: 8.023 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4066, allocations: 4 kB / 1.351 GB, free: 8.02 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005844/0.4071, allocations: 175.9 kB / 1.351 GB, free: 7.848 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.0003376/0.4075, allocations: 169.1 kB / 1.351 GB, free: 7.672 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.4086, allocations: 0.7651 MB / 1.352 GB, free: 6.906 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4086, allocations: 8 kB / 1.352 GB, free: 6.898 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.409, allocations: 223.7 kB / 1.352 GB, free: 6.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.4098, allocations: 169.5 kB / 1.353 GB, free: 6.516 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.4121, allocations: 1.425 MB / 1.354 GB, free: 5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4125, allocations: 328.9 kB / 1.354 GB, free: 4.656 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.4126, allocations: 43.42 kB / 1.354 GB, free: 4.613 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.4126, allocations: 0 / 1.354 GB, free: 4.613 MB / 1.045 GB Notification: Performance of Templates: time 0.01494/0.4276, allocations: 8.917 MB / 1.363 GB, free: 11.76 MB / 1.061 GB " [Timeout remaining time 300] 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: 13.066715602762997]