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.002007/0.002007, allocations: 108.3 kB / 19.7 MB, free: 2.145 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.002426/0.002426, allocations: 218.1 kB / 22.99 MB, free: 4.965 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002095/0.002095, allocations: 69.77 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003656/0.368, allocations: 2.073 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3704, allocations: 1.313 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.3705, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.3712, allocations: 243.1 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.3721, allocations: 450.4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.015e-06/0.3721, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.3725, allocations: 390.5 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.3726, allocations: 8.594 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3727, allocations: 151.4 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.373, allocations: 215.1 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.3731, allocations: 24 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005377/0.3736, allocations: 291.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.3739, allocations: 379 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.3742, allocations: 242.7 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.3752, allocations: 0.8559 MB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3752, allocations: 0 / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3752, allocations: 4 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.3752, allocations: 0 / 1.334 GB, free: 10.41 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.001311/0.3765, allocations: 0.8934 MB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3765, allocations: 12.03 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.3772, allocations: 128.4 kB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3783, allocations: 0.8582 MB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3783, allocations: 12.38 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.3783, allocations: 16.38 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.3792, allocations: 0.6421 MB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3792, allocations: 0 / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.3793, allocations: 4 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3793, allocations: 4 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.3806, allocations: 1.101 MB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.3832, allocations: 1.91 MB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.384, allocations: 326.7 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.3844, allocations: 228.8 kB / 1.34 GB, free: 4.176 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.3845, allocations: 23.92 kB / 1.34 GB, free: 4.152 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3845, allocations: 34.56 kB / 1.34 GB, free: 4.109 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.3845, allocations: 0 / 1.34 GB, free: 4.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001278/0.3858, allocations: 0.6973 MB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3858, allocations: 55.41 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.3883, allocations: 2.07 MB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.3883, allocations: 25.7 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.3886, allocations: 336.2 kB / 1.343 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.3887, allocations: 67.42 kB / 1.343 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3888, allocations: 49.7 kB / 1.343 GB, free: 0.7695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.389, allocations: 318 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/0.3898, allocations: 0.5388 MB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.3905, allocations: 0.5639 MB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3915, allocations: 0.7602 MB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3915, allocations: 0 / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001571/0.393, allocations: 1.212 MB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3931, allocations: 7.938 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3931, allocations: 4 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3931, allocations: 0 / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.3935, allocations: 67.89 kB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3935, allocations: 4 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.3938, allocations: 31.77 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.3939, allocations: 15.97 kB / 1.346 GB, free: 13.23 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.0003329/0.3942, allocations: 278.2 kB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3943, allocations: 71.47 kB / 1.347 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.3953, allocations: 0.536 MB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3953, allocations: 0 / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.3953, allocations: 3.984 kB / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3953, allocations: 4 kB / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.3985, allocations: 2.453 MB / 1.349 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.3985, allocations: 4 kB / 1.349 GB, free: 9.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.3988, allocations: 51.89 kB / 1.35 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.3988, allocations: 7.938 kB / 1.35 GB, free: 9.711 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.3989, allocations: 12 kB / 1.35 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.3989, allocations: 7.938 kB / 1.35 GB, free: 9.691 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3989, allocations: 4.312 kB / 1.35 GB, free: 9.688 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.3999, allocations: 0.6618 MB / 1.35 GB, free: 8.953 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.4001, allocations: 87.48 kB / 1.35 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.4001, allocations: 4 kB / 1.35 GB, free: 8.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.4005, allocations: 23.98 kB / 1.35 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.4005, allocations: 31.84 kB / 1.35 GB, free: 8.809 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.4005, allocations: 8 kB / 1.35 GB, free: 8.801 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00184/0.4024, allocations: 1.592 MB / 1.352 GB, free: 7.215 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4024, allocations: 0 / 1.352 GB, free: 7.215 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006525/0.403, allocations: 167.9 kB / 1.352 GB, free: 7.051 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.0003763/0.4034, allocations: 170.9 kB / 1.352 GB, free: 6.871 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.4046, allocations: 0.7729 MB / 1.353 GB, free: 6.098 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4046, allocations: 3.938 kB / 1.353 GB, free: 6.094 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.405, allocations: 216.9 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008884/0.4059, allocations: 170.9 kB / 1.353 GB, free: 5.715 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.4086, allocations: 1.64 MB / 1.355 GB, free: 3.992 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.4092, allocations: 399.1 kB / 1.355 GB, free: 3.578 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.4094, allocations: 88.36 kB / 1.355 GB, free: 3.488 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.4095, allocations: 39.44 kB / 1.355 GB, free: 3.449 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.4095, allocations: 0 / 1.355 GB, free: 3.449 MB / 1.045 GB Notification: Performance of Templates: time 0.02105/0.4306, allocations: 11.85 MB / 1.367 GB, free: 7.789 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 -s gbode -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: 9.464300758991158]