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.007327/0.007327, allocations: 97.05 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 192 kB / 16.67 MB, free: 5.48 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 68.41 kB / 1.083 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2923, allocations: 162.3 MB / 1.242 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.00322/0.2955, allocations: 2.199 MB / 1.244 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.2976, allocations: 1.359 MB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.2977, allocations: 0 / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.2983, allocations: 251.1 kB / 1.246 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008751/0.2992, allocations: 440 kB / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.602e-06/0.2992, allocations: 0 / 1.246 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.2996, allocations: 394.5 kB / 1.246 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.2997, allocations: 20.39 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.2998, allocations: 151.3 kB / 1.247 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.3, allocations: 191.2 kB / 1.247 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.3001, allocations: 24 kB / 1.247 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.3005, allocations: 271.6 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.3009, allocations: 383 kB / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.3012, allocations: 413.7 kB / 1.248 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3023, allocations: 1.155 MB / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3023, allocations: 4 kB / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3023, allocations: 0 / 1.249 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3024, allocations: 0 / 1.249 GB, free: 1.559 MB / 0.9669 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.00151/0.3039, allocations: 1.255 MB / 1.25 GB, free: 256 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3039, allocations: 12.02 kB / 1.25 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.304, allocations: 50.62 kB / 1.25 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005977/0.3046, allocations: 160.2 kB / 1.25 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/0.3085, allocations: 4.266 MB / 1.255 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3085, allocations: 12.38 kB / 1.255 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3085, allocations: 16.38 kB / 1.255 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007885/0.3093, allocations: 0.6341 MB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3093, allocations: 0 / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.3094, allocations: 8 kB / 1.255 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3094, allocations: 4 kB / 1.255 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.3107, allocations: 1.105 MB / 1.256 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/0.314, allocations: 3.159 MB / 1.259 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.3148, allocations: 350.6 kB / 1.26 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.3151, allocations: 228.8 kB / 1.26 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.3152, allocations: 27.91 kB / 1.26 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3152, allocations: 42.56 kB / 1.26 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.3152, allocations: 0 / 1.26 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001199/0.3164, allocations: 0.7137 MB / 1.261 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3165, allocations: 59.28 kB / 1.261 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006758/0.3232, allocations: 6.505 MB / 1.267 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.3233, allocations: 29.7 kB / 1.267 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.3237, allocations: 416.5 kB / 1.267 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.3237, allocations: 71.41 kB / 1.268 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3239, allocations: 61.64 kB / 1.268 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.324, allocations: 322 kB / 1.268 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.3246, allocations: 0.5271 MB / 1.268 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.3252, allocations: 0.5561 MB / 1.269 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.3262, allocations: 0.7636 MB / 1.27 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3262, allocations: 4 kB / 1.27 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001492/0.3277, allocations: 1.231 MB / 1.271 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3277, allocations: 4 kB / 1.271 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3277, allocations: 0 / 1.271 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3277, allocations: 4 kB / 1.271 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.3281, allocations: 63.89 kB / 1.271 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3281, allocations: 8.016 kB / 1.271 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.3285, allocations: 43.77 kB / 1.271 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.3285, allocations: 12 kB / 1.271 GB, free: 10.59 MB / 0.9981 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.0002995/0.3288, allocations: 281.6 kB / 1.271 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3289, allocations: 99.31 kB / 1.271 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/0.3298, allocations: 0.5606 MB / 1.272 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3299, allocations: 7.984 kB / 1.272 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3299, allocations: 0 / 1.272 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3299, allocations: 0 / 1.272 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.3329, allocations: 2.811 MB / 1.275 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.333, allocations: 8 kB / 1.275 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3332, allocations: 55.94 kB / 1.275 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3332, allocations: 7.984 kB / 1.275 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.3332, allocations: 8 kB / 1.275 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.3333, allocations: 7.938 kB / 1.275 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3333, allocations: 4 kB / 1.275 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.3342, allocations: 0.6892 MB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.3345, allocations: 260.4 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3346, allocations: 7.938 kB / 1.276 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.3349, allocations: 31.97 kB / 1.276 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.335, allocations: 31.86 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.335, allocations: 8 kB / 1.276 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004584/0.3396, allocations: 5.16 MB / 1.281 GB, free: 344 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3396, allocations: 0 / 1.281 GB, free: 344 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005847/0.3402, allocations: 183.9 kB / 1.281 GB, free: 160 kB / 0.9981 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.001453/0.3417, allocations: 1.291 MB / 1.282 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.3427, allocations: 0.7829 MB / 1.283 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3427, allocations: 0 / 1.283 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.3431, allocations: 223.7 kB / 1.283 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.3439, allocations: 189.3 kB / 1.283 GB, free: 13.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/0.3669, allocations: 22.94 MB / 1.306 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.3676, allocations: 1.003 MB / 1.307 GB, free: 5.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.368, allocations: 153.4 kB / 1.307 GB, free: 5.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.3684, allocations: 295.3 kB / 1.307 GB, free: 4.93 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/0.3684, allocations: 3.938 kB / 1.307 GB, free: 4.926 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.343/1.712, allocations: 23.56 MB / 1.33 GB, free: 13.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.96, allocations: 11.8 kB / 1.33 GB, free: 13.63 MB / 1.061 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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