Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001745/0.001745, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002214/0.002214, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.231/3.231, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_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_latest_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.002093/0.002093, allocations: 65.42 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 180.2 MB / 1.354 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003692/0.3602, allocations: 2.228 MB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.3626, allocations: 1.418 MB / 1.358 GB, free: 4.465 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.3627, allocations: 0 / 1.358 GB, free: 4.465 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006921/0.3633, allocations: 283 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009551/0.3643, allocations: 449.5 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.494e-06/0.3643, allocations: 4 kB / 1.358 GB, free: 3.746 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.3648, allocations: 394.5 kB / 1.359 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.3648, allocations: 8.594 kB / 1.359 GB, free: 3.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.365, allocations: 155.4 kB / 1.359 GB, free: 3.199 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.3652, allocations: 211.1 kB / 1.359 GB, free: 2.992 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.3653, allocations: 27.92 kB / 1.359 GB, free: 2.965 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.3658, allocations: 303.6 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.3662, allocations: 367 kB / 1.36 GB, free: 2.309 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.3664, allocations: 310.2 kB / 1.36 GB, free: 2.004 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.3674, allocations: 0.8481 MB / 1.361 GB, free: 1.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3674, allocations: 0 / 1.361 GB, free: 1.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3674, allocations: 0 / 1.361 GB, free: 1.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3674, allocations: 0 / 1.361 GB, free: 1.152 MB / 1.045 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.001304/0.3687, allocations: 0.8995 MB / 1.362 GB, free: 224 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3688, allocations: 12.03 kB / 1.362 GB, free: 212 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006098/0.3694, allocations: 124.4 kB / 1.362 GB, free: 88 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3704, allocations: 0.866 MB / 1.363 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3705, allocations: 8.375 kB / 1.363 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.3705, allocations: 16.38 kB / 1.363 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.3713, allocations: 0.6382 MB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3713, allocations: 0 / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.3714, allocations: 4 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3714, allocations: 4 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3727, allocations: 1.105 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.3754, allocations: 2.026 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/0.3762, allocations: 334.7 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.3766, allocations: 224.8 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.3766, allocations: 19.98 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3767, allocations: 38.5 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.3767, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.00125/0.3779, allocations: 0.71 MB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.378, allocations: 51.41 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.3805, allocations: 2.078 MB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3806, allocations: 29.7 kB / 1.37 GB, free: 7.812 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.3809, allocations: 324.2 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.3809, allocations: 75.41 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.381, allocations: 57.66 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3812, allocations: 318 kB / 1.371 GB, free: 7.039 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.3819, allocations: 0.5271 MB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.3825, allocations: 0.5522 MB / 1.372 GB, free: 5.953 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3835, allocations: 0.7791 MB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3836, allocations: 0 / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001584/0.3851, allocations: 1.212 MB / 1.374 GB, free: 3.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3852, allocations: 4 kB / 1.374 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3852, allocations: 0 / 1.374 GB, free: 3.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3852, allocations: 4 kB / 1.374 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.3855, allocations: 67.89 kB / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3855, allocations: 0 / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.3859, allocations: 35.77 kB / 1.374 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3859, allocations: 11.98 kB / 1.374 GB, free: 3.828 MB / 1.061 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.0003196/0.3862, allocations: 278.3 kB / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3863, allocations: 79.45 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009632/0.3873, allocations: 0.5449 MB / 1.375 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3873, allocations: 4 kB / 1.375 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3873, allocations: 0 / 1.375 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3873, allocations: 0 / 1.375 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.3905, allocations: 2.55 MB / 1.377 GB, free: 256 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3905, allocations: 4 kB / 1.377 GB, free: 252 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.3907, allocations: 55.83 kB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.3907, allocations: 8 kB / 1.377 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3908, allocations: 12.44 kB / 1.377 GB, free: 176 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.3908, allocations: 7.984 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.3908, allocations: 11.94 kB / 1.377 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009841/0.3918, allocations: 0.6561 MB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.3919, allocations: 83.56 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.392, allocations: 4 kB / 1.378 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.3923, allocations: 27.97 kB / 1.378 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.3924, allocations: 23.86 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3924, allocations: 15.98 kB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001683/0.3941, allocations: 1.588 MB / 1.38 GB, free: 13.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3941, allocations: 0 / 1.38 GB, free: 13.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000617/0.3947, allocations: 179.9 kB / 1.38 GB, free: 13.51 MB / 1.076 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.0003441/0.395, allocations: 163 kB / 1.38 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.3962, allocations: 0.7612 MB / 1.381 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3962, allocations: 4.062 kB / 1.381 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.3965, allocations: 219.7 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.3973, allocations: 184 kB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.3996, allocations: 1.425 MB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.4002, allocations: 0.9288 MB / 1.383 GB, free: 9.707 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4004, allocations: 47.42 kB / 1.383 GB, free: 9.66 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/0.4004, allocations: 0 / 1.383 GB, free: 9.66 MB / 1.076 GB Notification: Performance of Templates: time 0.01363/0.414, allocations: 8.732 MB / 1.392 GB, free: 1 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.61156310501974]