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.001539/0.001539, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001785/0.001785, allocations: 221.3 kB / 22.26 MB, free: 5.215 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.008 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.242/3.242, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [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.002122/0.002122, allocations: 65.75 kB / 1.154 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3807, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003408/0.3841, allocations: 2.229 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.3865, allocations: 1.43 MB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.3866, allocations: 3.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.3873, allocations: 283.3 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3883, allocations: 453.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.624e-06/0.3883, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.3887, allocations: 394.5 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.978e-05/0.3888, allocations: 8.594 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.389, allocations: 151.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3892, allocations: 215.1 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.3893, allocations: 20 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.3899, allocations: 303.6 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.3902, allocations: 394.8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.3906, allocations: 413.7 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3919, allocations: 1.156 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3919, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3919, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3919, allocations: 4 kB / 1.333 GB, free: 10.53 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.00183/0.3937, allocations: 1.179 MB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3938, allocations: 12.03 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.3938, allocations: 46.73 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006551/0.3945, allocations: 156.1 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004409/0.3989, allocations: 4.209 MB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3989, allocations: 16.31 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.399, allocations: 16.38 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.3998, allocations: 0.6341 MB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3998, allocations: 3.938 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.3999, allocations: 4 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3999, allocations: 4 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.4013, allocations: 1.105 MB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004782/0.406, allocations: 3.134 MB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/0.4069, allocations: 333.2 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.4073, allocations: 220.8 kB / 1.344 GB, free: 15.33 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.4073, allocations: 27.92 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.4074, allocations: 38.5 kB / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.555e-06/0.4074, allocations: 0 / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001367/0.4087, allocations: 0.7174 MB / 1.345 GB, free: 14.53 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.4088, allocations: 59.41 kB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007822/0.4166, allocations: 6.505 MB / 1.351 GB, free: 7.934 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.4167, allocations: 29.7 kB / 1.351 GB, free: 7.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004026/0.4171, allocations: 412.5 kB / 1.352 GB, free: 7.492 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.4171, allocations: 67.42 kB / 1.352 GB, free: 7.426 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.4173, allocations: 57.69 kB / 1.352 GB, free: 7.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4174, allocations: 318 kB / 1.352 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.4181, allocations: 0.531 MB / 1.352 GB, free: 6.516 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/0.4188, allocations: 0.5522 MB / 1.353 GB, free: 5.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/0.4198, allocations: 0.768 MB / 1.354 GB, free: 5.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4198, allocations: 0 / 1.354 GB, free: 5.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001684/0.4215, allocations: 1.239 MB / 1.355 GB, free: 3.938 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4215, allocations: 8 kB / 1.355 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4215, allocations: 0 / 1.355 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4215, allocations: 0 / 1.355 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.4218, allocations: 67.89 kB / 1.355 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4219, allocations: 4 kB / 1.355 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.4223, allocations: 47.8 kB / 1.355 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.4223, allocations: 11.98 kB / 1.355 GB, free: 3.801 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.0003464/0.4226, allocations: 282.2 kB / 1.355 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4228, allocations: 103.3 kB / 1.355 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4238, allocations: 0.5624 MB / 1.356 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4238, allocations: 0 / 1.356 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4238, allocations: 0 / 1.356 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4239, allocations: 0 / 1.356 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.4275, allocations: 2.786 MB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4275, allocations: 4 kB / 1.359 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.4277, allocations: 56.48 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.4277, allocations: 8 kB / 1.359 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.4278, allocations: 8 kB / 1.359 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.4278, allocations: 15.92 kB / 1.359 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4278, allocations: 4 kB / 1.359 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4288, allocations: 0.6853 MB / 1.359 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.4292, allocations: 183.2 kB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.4293, allocations: 12 kB / 1.36 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.4297, allocations: 23.98 kB / 1.36 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.4297, allocations: 27.84 kB / 1.36 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.4298, allocations: 20 kB / 1.36 GB, free: 14.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005522/0.4353, allocations: 5.149 MB / 1.365 GB, free: 9.672 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4353, allocations: 3.938 kB / 1.365 GB, free: 9.668 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009784/0.4363, allocations: 187.9 kB / 1.365 GB, free: 9.484 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.002011/0.4383, allocations: 1.294 MB / 1.366 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.4396, allocations: 0.769 MB / 1.367 GB, free: 7.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.4396, allocations: 4.062 kB / 1.367 GB, free: 7.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.44, allocations: 215.7 kB / 1.367 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.4413, allocations: 199.1 kB / 1.367 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/0.4696, allocations: 22.94 MB / 1.39 GB, free: 15.74 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.4704, allocations: 0.9995 MB / 1.391 GB, free: 14.71 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004598/0.4708, allocations: 141.4 kB / 1.391 GB, free: 14.57 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.4713, allocations: 295.3 kB / 1.391 GB, free: 14.29 MB / 1.092 GB Notification: Performance of SimCode: time 1.563e-06/0.4713, allocations: 0 / 1.391 GB, free: 14.29 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/0.5347, allocations: 24.08 MB / 1.415 GB, free: 6.48 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.93, allocations: 6.766 kB / 1.415 GB, free: 6.477 MB / 1.107 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv","/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: 19.926443554999423]