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.001337/0.001337, allocations: 100.8 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.001483/0.001483, allocations: 209.8 kB / 23.04 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.052/3.052, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002108/0.002108, allocations: 70.61 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3446, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003445/0.3481, allocations: 2.069 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.3504, allocations: 1.305 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.3506, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006822/0.3512, allocations: 247 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.3523, allocations: 446.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.234e-06/0.3523, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000407/0.3527, allocations: 394.5 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.3528, allocations: 8.594 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.3529, allocations: 147.4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.3532, allocations: 203.1 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.3532, allocations: 28 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.3538, allocations: 279.6 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.3541, allocations: 371 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3543, allocations: 250.6 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009156/0.3552, allocations: 0.8598 MB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3552, allocations: 0 / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3552, allocations: 0 / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3552, allocations: 0 / 1.334 GB, free: 10.35 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.001263/0.3565, allocations: 0.8879 MB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3565, allocations: 8.031 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006107/0.3572, allocations: 132.4 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3582, allocations: 0.8621 MB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3582, allocations: 8.375 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3583, allocations: 16.38 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/0.3591, allocations: 0.642 MB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3591, allocations: 0 / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.3591, allocations: 8 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3591, allocations: 4 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.3605, allocations: 1.097 MB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.3629, allocations: 1.91 MB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007722/0.3637, allocations: 326.7 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.3641, allocations: 229.9 kB / 1.34 GB, free: 4.121 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.3641, allocations: 19.97 kB / 1.34 GB, free: 4.102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3641, allocations: 38.56 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.3641, allocations: 0 / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001235/0.3654, allocations: 0.7058 MB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3654, allocations: 55.34 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.3678, allocations: 2.067 MB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3678, allocations: 25.7 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.3681, allocations: 336.2 kB / 1.343 GB, free: 0.832 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.3681, allocations: 63.44 kB / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3683, allocations: 57.69 kB / 1.343 GB, free: 0.707 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3684, allocations: 318 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.369, allocations: 0.5388 MB / 1.344 GB, free: 15.85 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/0.3697, allocations: 0.5483 MB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3707, allocations: 0.768 MB / 1.345 GB, free: 14.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3707, allocations: 0 / 1.345 GB, free: 14.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00153/0.3722, allocations: 1.208 MB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3723, allocations: 11.94 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3723, allocations: 3.984 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3723, allocations: 4 kB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.3726, allocations: 67.92 kB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3726, allocations: 4 kB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.373, allocations: 35.77 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.373, allocations: 15.98 kB / 1.346 GB, free: 13.17 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.0003273/0.3733, allocations: 270.2 kB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3735, allocations: 71.47 kB / 1.347 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009537/0.3744, allocations: 0.5388 MB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3744, allocations: 3.938 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3744, allocations: 0 / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3744, allocations: 7.984 kB / 1.347 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.3775, allocations: 2.446 MB / 1.35 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3775, allocations: 4 kB / 1.35 GB, free: 9.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.3778, allocations: 55.94 kB / 1.35 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.3778, allocations: 7.938 kB / 1.35 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.3778, allocations: 11.98 kB / 1.35 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.3778, allocations: 7.938 kB / 1.35 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.3778, allocations: 8 kB / 1.35 GB, free: 9.625 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3788, allocations: 0.6572 MB / 1.35 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.379, allocations: 83.5 kB / 1.35 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.3791, allocations: 7.984 kB / 1.35 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.3794, allocations: 19.98 kB / 1.35 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.3795, allocations: 31.84 kB / 1.35 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.3795, allocations: 16 kB / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001671/0.3811, allocations: 1.581 MB / 1.352 GB, free: 7.164 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3811, allocations: 3.938 kB / 1.352 GB, free: 7.16 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005882/0.3817, allocations: 175.9 kB / 1.352 GB, free: 6.988 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.0003222/0.3821, allocations: 167 kB / 1.352 GB, free: 6.812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.3832, allocations: 0.7669 MB / 1.353 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3832, allocations: 0 / 1.353 GB, free: 6.047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.3835, allocations: 227.7 kB / 1.353 GB, free: 5.824 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.3843, allocations: 171 kB / 1.353 GB, free: 5.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.3865, allocations: 1.433 MB / 1.355 GB, free: 4.137 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3869, allocations: 325 kB / 1.355 GB, free: 3.797 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.387, allocations: 43.42 kB / 1.355 GB, free: 3.754 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.387, allocations: 4 kB / 1.355 GB, free: 3.75 MB / 1.045 GB Notification: Performance of Templates: time 0.01431/0.4013, allocations: 8.907 MB / 1.364 GB, free: 10.91 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.129038555081934]