Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001592/0.001592, 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.001958/0.001958, allocations: 219.7 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.805 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.185/3.185, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.002063/0.002063, allocations: 62.97 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003612/0.3682, allocations: 1.956 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.3708, allocations: 1.309 MB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3709, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.3717, allocations: 251.4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.3728, allocations: 447.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.554e-06/0.3728, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004436/0.3732, allocations: 394.5 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.3733, allocations: 8.594 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3735, allocations: 151.4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.3738, allocations: 215.1 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.3738, allocations: 24 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.3744, allocations: 291.6 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.3748, allocations: 394.8 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.3752, allocations: 342.2 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.3767, allocations: 1.159 MB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3767, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3767, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3767, allocations: 0 / 1.333 GB, free: 10.57 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.001884/0.3786, allocations: 1.183 MB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3786, allocations: 8.031 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.822e-05/0.3787, allocations: 46.73 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.3793, allocations: 160.2 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.3838, allocations: 4.221 MB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3838, allocations: 16.38 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.3838, allocations: 12.38 kB / 1.338 GB, free: 4.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008714/0.3847, allocations: 0.638 MB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3847, allocations: 3.938 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.3847, allocations: 11.98 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3847, allocations: 4 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.3861, allocations: 1.101 MB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.3898, allocations: 3.002 MB / 1.343 GB, free: 28 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000784/0.3906, allocations: 336.5 kB / 1.343 GB, free: 15.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.391, allocations: 220.7 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.3911, allocations: 27.92 kB / 1.343 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3911, allocations: 42.5 kB / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 3.036e-06/0.3911, allocations: 0 / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.00133/0.3924, allocations: 0.7174 MB / 1.344 GB, free: 14.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3925, allocations: 55.39 kB / 1.344 GB, free: 14.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007889/0.4004, allocations: 6.497 MB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.4004, allocations: 29.7 kB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.4008, allocations: 420.4 kB / 1.351 GB, free: 7.633 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/0.4009, allocations: 63.44 kB / 1.351 GB, free: 7.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.401, allocations: 61.64 kB / 1.351 GB, free: 7.504 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4013, allocations: 318 kB / 1.351 GB, free: 7.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/0.402, allocations: 0.531 MB / 1.352 GB, free: 6.656 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.4027, allocations: 0.56 MB / 1.352 GB, free: 6.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4037, allocations: 0.7641 MB / 1.353 GB, free: 5.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4037, allocations: 0 / 1.353 GB, free: 5.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001732/0.4054, allocations: 1.231 MB / 1.354 GB, free: 4.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4055, allocations: 8 kB / 1.354 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4055, allocations: 0 / 1.354 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.4055, allocations: 3.984 kB / 1.354 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.4059, allocations: 63.89 kB / 1.354 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.4059, allocations: 7.984 kB / 1.354 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.4065, allocations: 43.86 kB / 1.354 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.4066, allocations: 12 kB / 1.354 GB, free: 3.945 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.0003769/0.407, allocations: 278.2 kB / 1.355 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4071, allocations: 95.33 kB / 1.355 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009937/0.4081, allocations: 0.5644 MB / 1.355 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4081, allocations: 0 / 1.355 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4081, allocations: 4 kB / 1.355 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4081, allocations: 0 / 1.355 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.4115, allocations: 2.669 MB / 1.358 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.4115, allocations: 7.938 kB / 1.358 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.4118, allocations: 48.5 kB / 1.358 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.4118, allocations: 15.98 kB / 1.358 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4118, allocations: 12 kB / 1.358 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.331e-06/0.4118, allocations: 4 kB / 1.358 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.4119, allocations: 7.938 kB / 1.358 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.413, allocations: 0.6812 MB / 1.359 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.4133, allocations: 191.2 kB / 1.359 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.4135, allocations: 12 kB / 1.359 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.4138, allocations: 27.97 kB / 1.359 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.4139, allocations: 23.86 kB / 1.359 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.4139, allocations: 23.92 kB / 1.359 GB, free: 15.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005697/0.4196, allocations: 5.153 MB / 1.364 GB, free: 9.926 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4196, allocations: 0 / 1.364 GB, free: 9.926 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008097/0.4204, allocations: 187.9 kB / 1.364 GB, free: 9.742 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.001891/0.4223, allocations: 1.288 MB / 1.365 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.4235, allocations: 0.7691 MB / 1.366 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4235, allocations: 0 / 1.366 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.4238, allocations: 224.8 kB / 1.366 GB, free: 7.383 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009722/0.4248, allocations: 196.1 kB / 1.367 GB, free: 7.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/0.4512, allocations: 22.94 MB / 1.389 GB, free: 12 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.4517, allocations: 407.5 kB / 1.389 GB, free: 15.59 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004288/0.4521, allocations: 149.4 kB / 1.39 GB, free: 15.44 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.4525, allocations: 291.3 kB / 1.39 GB, free: 15.15 MB / 1.092 GB Notification: Performance of SimCode: time 1.233e-06/0.4525, allocations: 0 / 1.39 GB, free: 15.15 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06435/0.5169, allocations: 25.77 MB / 1.415 GB, free: 5.727 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.19, allocations: 11.73 kB / 1.415 GB, free: 5.719 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_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_DryFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.15563086900511]