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.002123/0.002123, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002425/0.002425, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 8.027 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.451/3.451, allocations: 0.49 GB / 0.7951 GB, free: 33.26 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.002146/0.002146, allocations: 74.61 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4625, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003987/0.4665, allocations: 2.225 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.469, allocations: 1.422 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4691, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.4699, allocations: 283 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.4711, allocations: 446.6 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.965e-06/0.4711, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000484/0.4715, allocations: 390.5 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.562e-05/0.4716, allocations: 8.594 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.4718, allocations: 155.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.4721, allocations: 215.1 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.4721, allocations: 24 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.4727, allocations: 307.5 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.4732, allocations: 371 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.4735, allocations: 306.2 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.4746, allocations: 0.848 MB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.4746, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4746, allocations: 0 / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.4746, allocations: 0 / 1.333 GB, free: 10.47 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.001396/0.476, allocations: 0.8957 MB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.476, allocations: 8.031 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.4766, allocations: 132.4 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.4778, allocations: 0.8504 MB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.4779, allocations: 16.38 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.4779, allocations: 12.38 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000928/0.4788, allocations: 0.6343 MB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4788, allocations: 0 / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.4789, allocations: 12 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4789, allocations: 4 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.4803, allocations: 1.109 MB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.4832, allocations: 2.015 MB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007772/0.4839, allocations: 338.7 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.4843, allocations: 226 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.4844, allocations: 27.97 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4844, allocations: 34.5 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.4844, allocations: 0 / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.00127/0.4857, allocations: 0.702 MB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4857, allocations: 59.41 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.4884, allocations: 2.078 MB / 1.342 GB, free: 1.172 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.4884, allocations: 25.7 kB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.4888, allocations: 332.2 kB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.4888, allocations: 63.44 kB / 1.342 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.489, allocations: 57.69 kB / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4892, allocations: 314 kB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/0.4899, allocations: 0.5349 MB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.4906, allocations: 0.5522 MB / 1.344 GB, free: 15.28 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.4916, allocations: 0.7718 MB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4916, allocations: 3.938 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001618/0.4932, allocations: 1.212 MB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4933, allocations: 4 kB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4933, allocations: 3.984 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4933, allocations: 12.02 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.4936, allocations: 63.95 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4936, allocations: 3.984 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.494, allocations: 31.81 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.494, allocations: 15.88 kB / 1.346 GB, free: 13.15 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.0003342/0.4943, allocations: 274.2 kB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4945, allocations: 71.47 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009629/0.4954, allocations: 0.5427 MB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4954, allocations: 0 / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4954, allocations: 0 / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4954, allocations: 4 kB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.4988, allocations: 2.566 MB / 1.349 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.4988, allocations: 8 kB / 1.349 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4991, allocations: 47.91 kB / 1.349 GB, free: 9.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.4991, allocations: 4 kB / 1.349 GB, free: 9.504 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4991, allocations: 11.98 kB / 1.349 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.4991, allocations: 4 kB / 1.349 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.4991, allocations: 7.938 kB / 1.349 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.5001, allocations: 0.6658 MB / 1.35 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.5003, allocations: 83.55 kB / 1.35 GB, free: 8.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.5004, allocations: 8 kB / 1.35 GB, free: 8.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.5007, allocations: 15.98 kB / 1.35 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.5008, allocations: 35.84 kB / 1.35 GB, free: 8.602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.5008, allocations: 8 kB / 1.35 GB, free: 8.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001828/0.5026, allocations: 1.592 MB / 1.352 GB, free: 7.008 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5026, allocations: 0 / 1.352 GB, free: 7.008 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005808/0.5032, allocations: 171.9 kB / 1.352 GB, free: 6.84 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.0003479/0.5035, allocations: 172.8 kB / 1.352 GB, free: 6.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.5047, allocations: 0.7651 MB / 1.353 GB, free: 5.895 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5047, allocations: 0 / 1.353 GB, free: 5.895 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.505, allocations: 228.3 kB / 1.353 GB, free: 5.672 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008028/0.5058, allocations: 171.5 kB / 1.353 GB, free: 5.504 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.5084, allocations: 1.606 MB / 1.355 GB, free: 3.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.5092, allocations: 1.011 MB / 1.356 GB, free: 2.777 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002508/0.5094, allocations: 84.53 kB / 1.356 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.5096, allocations: 47.42 kB / 1.356 GB, free: 2.645 MB / 1.045 GB Notification: Performance of SimCode: time 6.82e-07/0.5096, allocations: 0 / 1.356 GB, free: 2.645 MB / 1.045 GB Notification: Performance of Templates: time 0.02213/0.5317, allocations: 10.64 MB / 1.366 GB, free: 8.133 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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: 10.222656358033419]