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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 104.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.181/3.181, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.36 kB / 1.134 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3706, allocations: 173.9 MB / 1.304 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004082/0.3747, allocations: 2.202 MB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3771, allocations: 1.371 MB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3772, allocations: 3.938 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.3779, allocations: 255.4 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.379, allocations: 438.5 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.524e-06/0.379, allocations: 0 / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.3794, allocations: 390.5 kB / 1.309 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.24e-05/0.3795, allocations: 12.39 kB / 1.309 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.3797, allocations: 155.3 kB / 1.309 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.3799, allocations: 211.1 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.38, allocations: 24 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000505/0.3805, allocations: 271.7 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.3809, allocations: 390.8 kB / 1.31 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004018/0.3813, allocations: 413.7 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.3826, allocations: 1.167 MB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3826, allocations: 0 / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3826, allocations: 0 / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.3826, allocations: 0 / 1.311 GB, free: 10.38 MB / 1.014 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.001996/0.3846, allocations: 1.247 MB / 1.312 GB, free: 9.078 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3847, allocations: 8.625 kB / 1.312 GB, free: 9.07 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.144e-05/0.3848, allocations: 54.67 kB / 1.312 GB, free: 9.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.3854, allocations: 148.2 kB / 1.312 GB, free: 8.863 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004611/0.39, allocations: 4.273 MB / 1.317 GB, free: 4.535 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.39, allocations: 12.38 kB / 1.317 GB, free: 4.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.3901, allocations: 20.31 kB / 1.317 GB, free: 4.504 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009057/0.391, allocations: 0.6395 MB / 1.317 GB, free: 3.859 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.391, allocations: 4 kB / 1.317 GB, free: 3.855 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.391, allocations: 4 kB / 1.317 GB, free: 3.852 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.391, allocations: 4 kB / 1.317 GB, free: 3.848 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.3924, allocations: 1.105 MB / 1.318 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/0.3964, allocations: 3.151 MB / 1.321 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008176/0.3972, allocations: 334.7 kB / 1.322 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/0.3976, allocations: 228.8 kB / 1.322 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.3977, allocations: 23.92 kB / 1.322 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3977, allocations: 34.56 kB / 1.322 GB, free: 14.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.3977, allocations: 4 kB / 1.322 GB, free: 14.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001372/0.3991, allocations: 0.7132 MB / 1.323 GB, free: 14.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.3991, allocations: 59.34 kB / 1.323 GB, free: 14.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008032/0.4072, allocations: 6.497 MB / 1.329 GB, free: 7.594 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.4072, allocations: 29.7 kB / 1.329 GB, free: 7.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.4076, allocations: 424.4 kB / 1.33 GB, free: 7.141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.4077, allocations: 67.42 kB / 1.33 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.4078, allocations: 53.7 kB / 1.33 GB, free: 7.016 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.408, allocations: 318 kB / 1.33 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.4088, allocations: 0.5271 MB / 1.331 GB, free: 6.172 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/0.4095, allocations: 0.5614 MB / 1.331 GB, free: 5.605 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.4106, allocations: 0.7713 MB / 1.332 GB, free: 4.828 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4106, allocations: 0 / 1.332 GB, free: 4.828 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001792/0.4124, allocations: 1.235 MB / 1.333 GB, free: 3.586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4124, allocations: 4 kB / 1.333 GB, free: 3.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4124, allocations: 4 kB / 1.333 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.4125, allocations: 0 / 1.333 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.4128, allocations: 67.89 kB / 1.333 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4128, allocations: 4 kB / 1.333 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.4133, allocations: 47.8 kB / 1.333 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.4133, allocations: 11.98 kB / 1.333 GB, free: 3.449 MB / 1.029 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.000394/0.4137, allocations: 285.6 kB / 1.333 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.4138, allocations: 95.33 kB / 1.334 GB, free: 3.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.4149, allocations: 0.5581 MB / 1.334 GB, free: 2.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4149, allocations: 7.984 kB / 1.334 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4149, allocations: 0 / 1.334 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4149, allocations: 3.984 kB / 1.334 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.4185, allocations: 2.818 MB / 1.337 GB, free: 15.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.4185, allocations: 4 kB / 1.337 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.4188, allocations: 48.5 kB / 1.337 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.4188, allocations: 12 kB / 1.337 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4189, allocations: 15.98 kB / 1.337 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.016e-06/0.4189, allocations: 7.938 kB / 1.337 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4189, allocations: 8 kB / 1.337 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4199, allocations: 0.6813 MB / 1.338 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.4203, allocations: 260.4 kB / 1.338 GB, free: 14.44 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.4204, allocations: 8 kB / 1.338 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.4208, allocations: 23.98 kB / 1.338 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.4209, allocations: 31.84 kB / 1.338 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4209, allocations: 8 kB / 1.338 GB, free: 14.37 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.005665/0.4265, allocations: 5.16 MB / 1.343 GB, free: 9.195 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4265, allocations: 0 / 1.343 GB, free: 9.195 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008253/0.4274, allocations: 195.8 kB / 1.343 GB, free: 9.004 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.001659/0.429, allocations: 1.29 MB / 1.344 GB, free: 7.625 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.4302, allocations: 0.7737 MB / 1.345 GB, free: 6.852 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4302, allocations: 0 / 1.345 GB, free: 6.852 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.4306, allocations: 219.8 kB / 1.345 GB, free: 6.637 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.4315, allocations: 203.3 kB / 1.346 GB, free: 6.438 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02689/0.4584, allocations: 22.94 MB / 1.368 GB, free: 15.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.4592, allocations: 1.007 MB / 1.369 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004259/0.4596, allocations: 141.4 kB / 1.369 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.46, allocations: 295.3 kB / 1.369 GB, free: 13.8 MB / 1.076 GB Notification: Performance of SimCode: time 1.393e-06/0.46, allocations: 0 / 1.369 GB, free: 13.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06228/0.5223, allocations: 23.83 MB / 1.393 GB, free: 6.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.416/9.938, allocations: 11.94 kB / 1.393 GB, free: 6.238 MB / 1.092 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 840.0] 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_2/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: 16.763399571180344]