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.001307/0.001307, 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.001477/0.001477, allocations: 220.9 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.152/3.152, allocations: 0.49 GB / 0.7958 GB, free: 33.31 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.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.002026/0.002026, allocations: 65.86 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003459/0.3344, allocations: 2.231 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3367, allocations: 1.426 MB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.3368, allocations: 11.94 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.3375, allocations: 279 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009799/0.3384, allocations: 443.5 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.113e-06/0.3384, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.3389, allocations: 398.5 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.3389, allocations: 12.59 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3391, allocations: 147.4 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.3393, allocations: 215.1 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.3394, allocations: 24 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.3399, allocations: 295.6 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.3402, allocations: 375 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.3405, allocations: 310.2 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009304/0.3415, allocations: 0.8443 MB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3415, allocations: 4 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3415, allocations: 3.938 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3415, allocations: 7.938 kB / 1.334 GB, free: 10.42 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.001462/0.3429, allocations: 0.8879 MB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.343, allocations: 8.031 kB / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000687/0.3437, allocations: 128.4 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3448, allocations: 0.8582 MB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3449, allocations: 12.38 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.3449, allocations: 20.38 kB / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.3458, allocations: 0.6343 MB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3458, allocations: 0 / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.3458, allocations: 8 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3458, allocations: 4 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.3472, allocations: 1.105 MB / 1.338 GB, free: 6.691 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.35, allocations: 2.018 MB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/0.3508, allocations: 338.7 kB / 1.34 GB, free: 4.289 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.3511, allocations: 216.8 kB / 1.34 GB, free: 4.074 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.3512, allocations: 23.98 kB / 1.34 GB, free: 4.051 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.3512, allocations: 42.48 kB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.344e-06/0.3512, allocations: 4 kB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001232/0.3525, allocations: 0.698 MB / 1.341 GB, free: 3.293 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3525, allocations: 55.41 kB / 1.341 GB, free: 3.227 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.3549, allocations: 2.078 MB / 1.343 GB, free: 1.137 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.355, allocations: 33.64 kB / 1.343 GB, free: 1.098 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.3552, allocations: 328.2 kB / 1.343 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.3553, allocations: 75.41 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3554, allocations: 57.69 kB / 1.343 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3555, allocations: 310 kB / 1.344 GB, free: 336 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.3562, allocations: 0.531 MB / 1.344 GB, free: 15.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.3568, allocations: 0.56 MB / 1.345 GB, free: 15.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009853/0.3578, allocations: 0.7641 MB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3578, allocations: 0 / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001522/0.3593, allocations: 1.212 MB / 1.347 GB, free: 13.24 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3594, allocations: 4 kB / 1.347 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3594, allocations: 0 / 1.347 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.3594, allocations: 4 kB / 1.347 GB, free: 13.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.3597, allocations: 63.89 kB / 1.347 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3597, allocations: 0 / 1.347 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.3601, allocations: 39.78 kB / 1.347 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3601, allocations: 12 kB / 1.347 GB, free: 13.12 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.0003161/0.3604, allocations: 282.2 kB / 1.347 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3605, allocations: 71.47 kB / 1.347 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.3614, allocations: 0.5365 MB / 1.348 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3614, allocations: 0 / 1.348 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3615, allocations: 4 kB / 1.348 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.3615, allocations: 7.984 kB / 1.348 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.3646, allocations: 2.566 MB / 1.35 GB, free: 9.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3646, allocations: 4 kB / 1.35 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3649, allocations: 48.5 kB / 1.35 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.3649, allocations: 4 kB / 1.35 GB, free: 9.473 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3649, allocations: 16 kB / 1.35 GB, free: 9.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.3649, allocations: 11.92 kB / 1.35 GB, free: 9.445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.365, allocations: 4 kB / 1.35 GB, free: 9.441 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.366, allocations: 0.6599 MB / 1.351 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.3662, allocations: 79.56 kB / 1.351 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3663, allocations: 19.98 kB / 1.351 GB, free: 8.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.3666, allocations: 11.98 kB / 1.351 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.3667, allocations: 27.86 kB / 1.351 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.3667, allocations: 15.98 kB / 1.351 GB, free: 8.555 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001674/0.3684, allocations: 1.592 MB / 1.353 GB, free: 6.969 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 1.353 GB, free: 6.969 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005794/0.3689, allocations: 171.9 kB / 1.353 GB, free: 6.801 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.0003521/0.3693, allocations: 171 kB / 1.353 GB, free: 6.621 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.3704, allocations: 0.7707 MB / 1.354 GB, free: 5.852 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3704, allocations: 0 / 1.354 GB, free: 5.852 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.3707, allocations: 224.7 kB / 1.354 GB, free: 5.633 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.3716, allocations: 179 kB / 1.354 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3738, allocations: 1.421 MB / 1.355 GB, free: 3.945 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.3744, allocations: 0.925 MB / 1.356 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3745, allocations: 43.42 kB / 1.356 GB, free: 2.953 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.3745, allocations: 0 / 1.356 GB, free: 2.953 MB / 1.045 GB Notification: Performance of Templates: time 0.01349/0.388, allocations: 8.727 MB / 1.365 GB, free: 10.29 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: 12.633149503002642]