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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 191.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 482.6 MB / 0.7549 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 76.88 kB / 0.9242 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2648, allocations: 162.3 MB / 1.083 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003219/0.2681, allocations: 2.051 MB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2701, allocations: 1.367 MB / 1.086 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.2702, allocations: 0 / 1.086 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.2708, allocations: 255.1 kB / 1.086 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008569/0.2717, allocations: 430.8 kB / 1.087 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.244e-06/0.2717, allocations: 3.938 kB / 1.087 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.2721, allocations: 394.5 kB / 1.087 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.2722, allocations: 20.33 kB / 1.087 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2723, allocations: 151.3 kB / 1.087 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.2726, allocations: 195.2 kB / 1.087 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.2726, allocations: 24 kB / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.2731, allocations: 271.7 kB / 1.088 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.2734, allocations: 379 kB / 1.088 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.2738, allocations: 413.7 kB / 1.088 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.2749, allocations: 1.141 MB / 1.09 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2749, allocations: 4 kB / 1.09 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2749, allocations: 0 / 1.09 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.2749, allocations: 3.938 kB / 1.09 GB, free: 5.754 MB / 0.8419 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.001594/0.2765, allocations: 1.22 MB / 1.091 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2766, allocations: 12.03 kB / 1.091 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.2766, allocations: 50.73 kB / 1.091 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.2773, allocations: 143.7 kB / 1.091 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004116/0.2814, allocations: 4.257 MB / 1.095 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2814, allocations: 8.375 kB / 1.095 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.2815, allocations: 16.38 kB / 1.095 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.2823, allocations: 0.6419 MB / 1.096 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2823, allocations: 4 kB / 1.096 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.2824, allocations: 4 kB / 1.096 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2824, allocations: 4 kB / 1.096 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.2837, allocations: 1.113 MB / 1.097 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.2873, allocations: 3.158 MB / 1.1 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.2881, allocations: 350.7 kB / 1.1 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.2885, allocations: 224.8 kB / 1.101 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.2885, allocations: 27.92 kB / 1.101 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2886, allocations: 34.56 kB / 1.101 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.2886, allocations: 0 / 1.101 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001301/0.2899, allocations: 0.7203 MB / 1.101 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2899, allocations: 51.41 kB / 1.101 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007373/0.2973, allocations: 6.493 MB / 1.108 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.2974, allocations: 29.7 kB / 1.108 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.2977, allocations: 416.2 kB / 1.108 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.2978, allocations: 75.08 kB / 1.108 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2979, allocations: 57.61 kB / 1.108 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2981, allocations: 321.9 kB / 1.109 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.2987, allocations: 0.5271 MB / 1.109 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.2994, allocations: 0.5522 MB / 1.11 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3004, allocations: 0.7713 MB / 1.11 GB, free: 240 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3005, allocations: 0 / 1.11 GB, free: 240 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001591/0.302, allocations: 1.231 MB / 1.112 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3021, allocations: 4 kB / 1.112 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3021, allocations: 3.984 kB / 1.112 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3021, allocations: 7.938 kB / 1.112 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.3024, allocations: 63.89 kB / 1.112 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3025, allocations: 0 / 1.112 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.3029, allocations: 39.73 kB / 1.112 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3029, allocations: 15.97 kB / 1.112 GB, free: 14.86 MB / 0.8731 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.000308/0.3032, allocations: 285.6 kB / 1.112 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.3034, allocations: 90.81 kB / 1.112 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.3044, allocations: 0.5589 MB / 1.113 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3044, allocations: 7.938 kB / 1.113 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3044, allocations: 0 / 1.113 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3044, allocations: 11.98 kB / 1.113 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.3078, allocations: 2.806 MB / 1.115 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3078, allocations: 7.938 kB / 1.115 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.3081, allocations: 43.97 kB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.3081, allocations: 8 kB / 1.115 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.3081, allocations: 16.42 kB / 1.115 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3081, allocations: 7.938 kB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3081, allocations: 8 kB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3092, allocations: 0.6753 MB / 1.116 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.3095, allocations: 259.8 kB / 1.116 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.3096, allocations: 8 kB / 1.116 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.31, allocations: 31.98 kB / 1.116 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.31, allocations: 27.84 kB / 1.116 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3101, allocations: 12 kB / 1.116 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005009/0.3151, allocations: 5.149 MB / 1.121 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3151, allocations: 0 / 1.121 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005623/0.3157, allocations: 192 kB / 1.122 GB, free: 4.438 MB / 0.8731 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.001517/0.3172, allocations: 1.288 MB / 1.123 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.3183, allocations: 0.7807 MB / 1.124 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3183, allocations: 4 kB / 1.124 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.3187, allocations: 224.3 kB / 1.124 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.3196, allocations: 194 kB / 1.124 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/0.3448, allocations: 23.34 MB / 1.147 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.3455, allocations: 0.9992 MB / 1.148 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003498/0.3458, allocations: 149.4 kB / 1.148 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.3463, allocations: 295.3 kB / 1.148 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.3463, allocations: 0 / 1.148 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05062/0.3969, allocations: 23.38 MB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.261, allocations: 11.41 kB / 1.171 GB, free: 1.602 MB / 0.92 GB (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 400 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches