Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.0007771/0.0007771, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000822/0.000822, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9147/0.9147, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.717/1.717, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.741e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002171/0.002189, allocations: 1.952 MB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.003981, allocations: 1.309 MB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.004092, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.004615, allocations: 239 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.005626, allocations: 457 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 1.085e-05/0.005636, allocations: 0 / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000506/0.006142, allocations: 410.3 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.796e-05/0.00621, allocations: 16.58 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.006491, allocations: 191.4 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.006754, allocations: 179.4 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.006798, allocations: 20 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.007378, allocations: 279.6 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.007691, allocations: 411 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.007933, allocations: 271.3 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008774/0.00881, allocations: 1.156 MB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.008813, allocations: 0 / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.262e-06/0.008814, allocations: 0 / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.008826, allocations: 0 / 1.006 GB, free: 6.656 MB / 0.9636 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.001249/0.01008, allocations: 1.199 MB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.01011, allocations: 12.75 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.01015, allocations: 46.73 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.01054, allocations: 156.2 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.01355, allocations: 4.228 MB / 1.012 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.01358, allocations: 16.38 kB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.01361, allocations: 12.38 kB / 1.012 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000648/0.01425, allocations: 0.6361 MB / 1.013 GB, free: 272 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01426, allocations: 192 / 1.013 GB, free: 272 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01428, allocations: 8.125 kB / 1.013 GB, free: 264 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.01429, allocations: 4 kB / 1.013 GB, free: 260 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/0.01518, allocations: 1.105 MB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.01791, allocations: 3.021 MB / 1.017 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.01844, allocations: 338.6 kB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.01867, allocations: 220.8 kB / 1.017 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.01872, allocations: 19.98 kB / 1.017 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.01874, allocations: 38.56 kB / 1.017 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=19): time 2.846e-06/0.01875, allocations: 0 / 1.017 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0008329/0.01958, allocations: 0.7314 MB / 1.018 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.01961, allocations: 51.41 kB / 1.018 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/0.02438, allocations: 6.513 MB / 1.024 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.02441, allocations: 29.7 kB / 1.024 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.02465, allocations: 420.5 kB / 1.025 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.0247, allocations: 63.44 kB / 1.025 GB, free: 3.609 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.02479, allocations: 61.64 kB / 1.025 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.02487, allocations: 314 kB / 1.025 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.02527, allocations: 0.5349 MB / 1.026 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.02566, allocations: 0.5483 MB / 1.026 GB, free: 2.141 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.02625, allocations: 0.7728 MB / 1.027 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.02626, allocations: 0 / 1.027 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009894/0.02725, allocations: 1.231 MB / 1.028 GB, free: 128 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.02727, allocations: 8 kB / 1.028 GB, free: 120 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.02728, allocations: 3.938 kB / 1.028 GB, free: 116 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.02729, allocations: 0 / 1.028 GB, free: 116 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.02748, allocations: 63.89 kB / 1.028 GB, free: 52 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.02748, allocations: 4 kB / 1.028 GB, free: 48 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.02777, allocations: 51.84 kB / 1.028 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.02779, allocations: 15.94 kB / 1.028 GB, free: 15.98 MB / 0.9948 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.0002346/0.02803, allocations: 277.6 kB / 1.029 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.02813, allocations: 95.39 kB / 1.029 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.02873, allocations: 0.5664 MB / 1.029 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.02873, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.02874, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02874, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.0308, allocations: 2.669 MB / 1.032 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.0308, allocations: 8 kB / 1.032 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.03093, allocations: 52.48 kB / 1.032 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.03093, allocations: 15.94 kB / 1.032 GB, free: 12.17 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.03095, allocations: 12 kB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.03096, allocations: 4 kB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.03096, allocations: 7.938 kB / 1.032 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.03154, allocations: 0.672 MB / 1.033 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.03176, allocations: 199.1 kB / 1.033 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/0.03183, allocations: 15.98 kB / 1.033 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.03202, allocations: 27.98 kB / 1.033 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.03206, allocations: 31.84 kB / 1.033 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.03207, allocations: 12 kB / 1.033 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003028/0.0351, allocations: 5.157 MB / 1.038 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.8e-07/0.0351, allocations: 0 / 1.038 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005083/0.03561, allocations: 187.9 kB / 1.038 GB, free: 5.77 MB / 0.9948 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.00105/0.03666, allocations: 1.292 MB / 1.039 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007797/0.03744, allocations: 0.7728 MB / 1.04 GB, free: 3.621 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.03744, allocations: 3.938 kB / 1.04 GB, free: 3.617 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.03765, allocations: 216.9 kB / 1.04 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.03829, allocations: 208 kB / 1.04 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4395/0.4778, allocations: 22.91 MB / 1.063 GB, free: 98.22 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.478, allocations: 403.6 kB / 1.063 GB, free: 98.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.4783, allocations: 148.7 kB / 1.063 GB, free: 98.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4785, allocations: 308.2 kB / 1.064 GB, free: 97.87 MB / 1.01 GB Notification: Performance of SimCode: time 1.222e-06/0.4785, allocations: 0.8438 kB / 1.064 GB, free: 97.87 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.5171, allocations: 25.3 MB / 1.088 GB, free: 94.84 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.6, allocations: 5.984 kB / 1.088 GB, free: 94.84 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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: 11.733633417636156]