Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.001303/0.001303, allocations: 108 kB / 15.61 MB, free: 152 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.001237/0.001237, allocations: 193.1 kB / 16.53 MB, free: 6.699 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 482.6 MB / 0.7549 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003244/0.003244, allocations: 72.7 kB / 0.9242 GB, free: 29.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2802, allocations: 162.3 MB / 1.083 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003375/0.2836, allocations: 2.189 MB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.2856, allocations: 1.367 MB / 1.086 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.2857, allocations: 3.938 kB / 1.086 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.2863, allocations: 247.1 kB / 1.086 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.2872, allocations: 434.8 kB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.813e-06/0.2872, allocations: 8 kB / 1.087 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.2876, allocations: 394.5 kB / 1.087 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.2877, allocations: 20.33 kB / 1.087 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.2878, allocations: 143.4 kB / 1.087 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.288, allocations: 191.2 kB / 1.088 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.2881, allocations: 28 kB / 1.088 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.2885, allocations: 271.7 kB / 1.088 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.2889, allocations: 378.9 kB / 1.088 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.2893, allocations: 417.7 kB / 1.089 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2903, allocations: 1.137 MB / 1.09 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2904, allocations: 3.938 kB / 1.09 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2904, allocations: 4 kB / 1.09 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.2904, allocations: 0 / 1.09 GB, free: 5.582 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.001609/0.292, allocations: 1.22 MB / 1.091 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.292, allocations: 12.03 kB / 1.091 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.763e-05/0.2921, allocations: 50.73 kB / 1.091 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006533/0.2928, allocations: 143.7 kB / 1.091 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004106/0.2969, allocations: 4.261 MB / 1.095 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2969, allocations: 8.375 kB / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.2969, allocations: 16.38 kB / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008333/0.2978, allocations: 0.6419 MB / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2978, allocations: 0 / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.2978, allocations: 7.984 kB / 1.096 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2978, allocations: 4 kB / 1.096 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.2992, allocations: 1.109 MB / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.3027, allocations: 3.17 MB / 1.1 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.3035, allocations: 346.7 kB / 1.1 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.3039, allocations: 230.5 kB / 1.101 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.304, allocations: 27.92 kB / 1.101 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.304, allocations: 34.55 kB / 1.101 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.304, allocations: 4 kB / 1.101 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.00129/0.3053, allocations: 0.7152 MB / 1.101 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3054, allocations: 51.41 kB / 1.101 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007337/0.3127, allocations: 6.497 MB / 1.108 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.3127, allocations: 25.7 kB / 1.108 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.3131, allocations: 424.2 kB / 1.108 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.3132, allocations: 59.11 kB / 1.108 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3133, allocations: 61.59 kB / 1.108 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3134, allocations: 318 kB / 1.109 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.3141, allocations: 0.5271 MB / 1.109 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.3148, allocations: 0.5561 MB / 1.11 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3158, allocations: 0.7674 MB / 1.11 GB, free: 60 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3158, allocations: 0 / 1.11 GB, free: 60 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001578/0.3174, allocations: 1.231 MB / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3174, allocations: 4 kB / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3174, allocations: 0 / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3175, allocations: 4 kB / 1.112 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.3178, allocations: 67.89 kB / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3178, allocations: 0 / 1.112 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.3182, allocations: 39.73 kB / 1.112 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.3182, allocations: 11.98 kB / 1.112 GB, free: 14.7 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.0003116/0.3185, allocations: 285.6 kB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.3187, allocations: 90.81 kB / 1.112 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.3197, allocations: 0.5665 MB / 1.113 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.3197, allocations: 3.938 kB / 1.113 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3197, allocations: 0 / 1.113 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3197, allocations: 4 kB / 1.113 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/0.3231, allocations: 2.814 MB / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3231, allocations: 8 kB / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3234, allocations: 51.89 kB / 1.116 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.3234, allocations: 8.5 kB / 1.116 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.3234, allocations: 12 kB / 1.116 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3234, allocations: 15.92 kB / 1.116 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.3234, allocations: 7.938 kB / 1.116 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3244, allocations: 0.6715 MB / 1.116 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.3248, allocations: 255.8 kB / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.3249, allocations: 12 kB / 1.116 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.3253, allocations: 27.98 kB / 1.117 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.3253, allocations: 23.86 kB / 1.117 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3254, allocations: 19.98 kB / 1.117 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.004993/0.3304, allocations: 5.149 MB / 1.122 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3304, allocations: 4 kB / 1.122 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005679/0.3309, allocations: 188 kB / 1.122 GB, free: 4.258 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.001495/0.3324, allocations: 1.288 MB / 1.123 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.3335, allocations: 0.7729 MB / 1.124 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3335, allocations: 4 kB / 1.124 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.3339, allocations: 228.1 kB / 1.124 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008422/0.3348, allocations: 192.8 kB / 1.124 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/0.3598, allocations: 23.34 MB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.3605, allocations: 1.007 MB / 1.148 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003468/0.3609, allocations: 145.4 kB / 1.148 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.3613, allocations: 295.3 kB / 1.148 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.3613, allocations: 0 / 1.148 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05052/0.4118, allocations: 23.38 MB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.215, allocations: 6.672 kB / 1.171 GB, free: 1.43 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches