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.001378/0.001378, allocations: 109 kB / 17.54 MB, free: 4.781 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.001356/0.001356, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.26/1.26, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] 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 2.503/2.503, allocations: 489.7 MB / 0.7755 GB, free: 2.449 MB / 0.6075 GB " [Timeout remaining time 177] 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.001758/0.001758, allocations: 71.88 kB / 1.126 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7422, allocations: 172 MB / 1.294 GB, free: 38.36 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002374/0.7446, allocations: 2.218 MB / 1.296 GB, free: 36.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.7461, allocations: 1.381 MB / 1.297 GB, free: 35.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.7462, allocations: 0 / 1.297 GB, free: 35.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.7467, allocations: 255 kB / 1.298 GB, free: 35.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.7474, allocations: 440.3 kB / 1.298 GB, free: 35.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.864e-06/0.7474, allocations: 0 / 1.298 GB, free: 35.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.7477, allocations: 395.3 kB / 1.298 GB, free: 35.39 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.7477, allocations: 12.88 kB / 1.298 GB, free: 35.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.96e-05/0.7478, allocations: 140.9 kB / 1.299 GB, free: 35.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.748, allocations: 214.7 kB / 1.299 GB, free: 35.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.748, allocations: 24.03 kB / 1.299 GB, free: 35.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.7484, allocations: 279.7 kB / 1.299 GB, free: 35.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.7486, allocations: 396.5 kB / 1.299 GB, free: 35.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.7488, allocations: 413.9 kB / 1.3 GB, free: 34.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.7495, allocations: 1.162 MB / 1.301 GB, free: 34.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7495, allocations: 0 / 1.301 GB, free: 34.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7495, allocations: 0 / 1.301 GB, free: 34.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.7496, allocations: 3.938 kB / 1.301 GB, free: 34.41 MB / 1.061 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.001207/0.7508, allocations: 1.252 MB / 1.302 GB, free: 33.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.7508, allocations: 12.59 kB / 1.302 GB, free: 33.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.7508, allocations: 47.69 kB / 1.302 GB, free: 33.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/0.7514, allocations: 157.3 kB / 1.302 GB, free: 33.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.7537, allocations: 4.268 MB / 1.307 GB, free: 31.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7537, allocations: 10.09 kB / 1.307 GB, free: 31.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.7537, allocations: 16.03 kB / 1.307 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.7543, allocations: 0.64 MB / 1.307 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.7543, allocations: 4 kB / 1.307 GB, free: 31.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.7543, allocations: 6.969 kB / 1.307 GB, free: 31.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.7543, allocations: 2.906 kB / 1.307 GB, free: 31.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.7552, allocations: 1.101 MB / 1.308 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.7574, allocations: 3.161 MB / 1.311 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.7579, allocations: 331.3 kB / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.7582, allocations: 227.5 kB / 1.312 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.7582, allocations: 24.8 kB / 1.312 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.017e-05/0.7583, allocations: 33.34 kB / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.7583, allocations: 0 / 1.312 GB, free: 29.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0009425/0.7592, allocations: 0.7213 MB / 1.313 GB, free: 29.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/0.7592, allocations: 51.41 kB / 1.313 GB, free: 29.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/0.7651, allocations: 6.497 MB / 1.319 GB, free: 27.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.7651, allocations: 30.7 kB / 1.319 GB, free: 27.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.7653, allocations: 424.8 kB / 1.32 GB, free: 27.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.7653, allocations: 70.55 kB / 1.32 GB, free: 27.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.7654, allocations: 59.25 kB / 1.32 GB, free: 26.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.304e-05/0.7655, allocations: 319.5 kB / 1.32 GB, free: 26.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.7659, allocations: 0.5253 MB / 1.32 GB, free: 26.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.7665, allocations: 0.5552 MB / 1.321 GB, free: 26.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.7673, allocations: 0.7762 MB / 1.322 GB, free: 26.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7673, allocations: 0 / 1.322 GB, free: 26.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001184/0.7684, allocations: 1.231 MB / 1.323 GB, free: 25.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7685, allocations: 5.281 kB / 1.323 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7685, allocations: 4 kB / 1.323 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7685, allocations: 2.688 kB / 1.323 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.7688, allocations: 69.3 kB / 1.323 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.7688, allocations: 1.375 kB / 1.323 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.7691, allocations: 39.03 kB / 1.323 GB, free: 25.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.7692, allocations: 15.02 kB / 1.323 GB, free: 25.81 MB / 1.061 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.0002049/0.7694, allocations: 282.5 kB / 1.323 GB, free: 25.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.7695, allocations: 103.8 kB / 1.323 GB, free: 25.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007588/0.7702, allocations: 0.5577 MB / 1.324 GB, free: 25.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7703, allocations: 2.062 kB / 1.324 GB, free: 25.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7703, allocations: 1.094 kB / 1.324 GB, free: 25.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7703, allocations: 7.281 kB / 1.324 GB, free: 25.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.7727, allocations: 2.811 MB / 1.327 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7727, allocations: 4.062 kB / 1.327 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.7729, allocations: 50.5 kB / 1.327 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.7729, allocations: 5.5 kB / 1.327 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.7729, allocations: 9.969 kB / 1.327 GB, free: 24.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.7729, allocations: 10.16 kB / 1.327 GB, free: 24.22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7729, allocations: 5.656 kB / 1.327 GB, free: 24.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.7737, allocations: 0.685 MB / 1.328 GB, free: 23.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.7739, allocations: 264 kB / 1.328 GB, free: 23.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.774, allocations: 11.59 kB / 1.328 GB, free: 23.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.7743, allocations: 28.14 kB / 1.328 GB, free: 23.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.7744, allocations: 33.08 kB / 1.328 GB, free: 23.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.7744, allocations: 17.59 kB / 1.328 GB, free: 23.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003361/0.7777, allocations: 5.151 MB / 1.333 GB, free: 21.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.7777, allocations: 0 / 1.333 GB, free: 21.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005314/0.7783, allocations: 191.5 kB / 1.333 GB, free: 21.73 MB / 1.061 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.001028/0.7793, allocations: 1.287 MB / 1.334 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000836/0.7801, allocations: 0.7664 MB / 1.335 GB, free: 20.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7801, allocations: 1.156 kB / 1.335 GB, free: 20.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.7804, allocations: 227.6 kB / 1.335 GB, free: 20.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.7812, allocations: 197.5 kB / 1.335 GB, free: 20.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/0.8, allocations: 22.94 MB / 1.358 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.8004, allocations: 1.002 MB / 1.359 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003403/0.8008, allocations: 147.6 kB / 1.359 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.8011, allocations: 296 kB / 1.359 GB, free: 11.02 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/0.8011, allocations: 0 / 1.359 GB, free: 11.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04942/0.8505, allocations: 23.84 MB / 1.383 GB, free: 7.539 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.19, allocations: 4.812 kB / 1.383 GB, free: 7.535 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.531694982000772]