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.001356/0.001356, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001584/0.001584, allocations: 218.8 kB / 22.25 MB, free: 5.102 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.797 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.292/3.292, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.002092/0.002092, allocations: 71.16 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003561/0.3775, allocations: 2.081 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.3799, allocations: 1.305 MB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.38, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.3806, allocations: 251.3 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3817, allocations: 448.3 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.354e-06/0.3817, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.3821, allocations: 390.5 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.3822, allocations: 12.58 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.3823, allocations: 151.4 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.3826, allocations: 211.1 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.3826, allocations: 27.94 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.3831, allocations: 291.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.3835, allocations: 398.9 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.3839, allocations: 338.2 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3851, allocations: 1.167 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3851, allocations: 4 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3851, allocations: 4 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3851, allocations: 0 / 1.333 GB, free: 10.42 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.001793/0.3869, allocations: 1.175 MB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.387, allocations: 8.031 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/0.387, allocations: 50.73 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006357/0.3877, allocations: 156.2 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.3921, allocations: 4.221 MB / 1.338 GB, free: 4.727 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.3922, allocations: 12.38 kB / 1.338 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.3922, allocations: 12.38 kB / 1.338 GB, free: 4.703 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/0.3931, allocations: 0.6341 MB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3931, allocations: 0 / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.3931, allocations: 8 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3931, allocations: 8 kB / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.3945, allocations: 1.101 MB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.3983, allocations: 3.002 MB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.3991, allocations: 334.7 kB / 1.343 GB, free: 15.56 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.3994, allocations: 220.8 kB / 1.343 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/0.3995, allocations: 23.92 kB / 1.343 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3995, allocations: 34.56 kB / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.244e-06/0.3995, allocations: 0 / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001334/0.4008, allocations: 0.7248 MB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4009, allocations: 55.39 kB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007607/0.4085, allocations: 6.497 MB / 1.351 GB, free: 7.957 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.4085, allocations: 25.7 kB / 1.351 GB, free: 7.926 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.409, allocations: 424.4 kB / 1.351 GB, free: 7.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.4091, allocations: 67.34 kB / 1.351 GB, free: 7.445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4092, allocations: 61.64 kB / 1.351 GB, free: 7.379 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4093, allocations: 322 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.41, allocations: 0.5271 MB / 1.352 GB, free: 6.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.4107, allocations: 0.5561 MB / 1.352 GB, free: 5.969 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.4117, allocations: 0.7718 MB / 1.353 GB, free: 5.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4117, allocations: 3.938 kB / 1.353 GB, free: 5.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00172/0.4134, allocations: 1.227 MB / 1.354 GB, free: 3.953 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4134, allocations: 8 kB / 1.354 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4135, allocations: 4 kB / 1.354 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4135, allocations: 7.969 kB / 1.354 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.4138, allocations: 67.98 kB / 1.355 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.4138, allocations: 7.938 kB / 1.355 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.4143, allocations: 39.77 kB / 1.355 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.4143, allocations: 12 kB / 1.355 GB, free: 3.809 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.0003711/0.4147, allocations: 278.2 kB / 1.355 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.4149, allocations: 95.33 kB / 1.355 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/0.4158, allocations: 0.5661 MB / 1.355 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4158, allocations: 0 / 1.355 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4158, allocations: 0 / 1.355 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4158, allocations: 0 / 1.355 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.4193, allocations: 2.669 MB / 1.358 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4193, allocations: 4.594 kB / 1.358 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4196, allocations: 55.91 kB / 1.358 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.4196, allocations: 11.98 kB / 1.358 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.4196, allocations: 8 kB / 1.358 GB, free: 0 / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.621e-05/0.4196, allocations: 4.047 kB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.4196, allocations: 7.938 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4207, allocations: 0.6836 MB / 1.359 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.4211, allocations: 187.2 kB / 1.359 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4212, allocations: 8 kB / 1.359 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.4216, allocations: 35.97 kB / 1.359 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.4216, allocations: 27.86 kB / 1.359 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.4217, allocations: 11.98 kB / 1.359 GB, free: 14.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005545/0.4272, allocations: 5.157 MB / 1.364 GB, free: 9.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4272, allocations: 0 / 1.364 GB, free: 9.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009037/0.4281, allocations: 191.9 kB / 1.364 GB, free: 9.609 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.00171/0.4298, allocations: 1.28 MB / 1.366 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.431, allocations: 0.7729 MB / 1.366 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.431, allocations: 3.938 kB / 1.366 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.4313, allocations: 228.5 kB / 1.367 GB, free: 7.242 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4324, allocations: 193.8 kB / 1.367 GB, free: 7.051 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02635/0.4587, allocations: 22.94 MB / 1.389 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.4592, allocations: 403.5 kB / 1.39 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004483/0.4596, allocations: 149.4 kB / 1.39 GB, free: 15.31 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/0.46, allocations: 291.3 kB / 1.39 GB, free: 15.02 MB / 1.092 GB Notification: Performance of SimCode: time 1.213e-06/0.46, allocations: 0 / 1.39 GB, free: 15.02 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06386/0.5239, allocations: 25.77 MB / 1.415 GB, free: 5.594 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.15, allocations: 11.42 kB / 1.415 GB, free: 5.586 MB / 1.107 GB " [Timeout remaining time 288] (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.1310864299885]