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.00301/0.00301, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001314/0.001314, allocations: 200 kB / 16.26 MB, free: 6.625 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.532/2.532, allocations: 482.4 MB / 0.7544 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 62.75 kB / 0.9235 GB, free: 29.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2419, allocations: 162.2 MB / 1.082 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002946/0.2449, allocations: 2.242 MB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2467, allocations: 1.356 MB / 1.085 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.2468, allocations: 3.938 kB / 1.085 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.2474, allocations: 259.2 kB / 1.086 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000738/0.2481, allocations: 395.2 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.031e-06/0.2481, allocations: 0 / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.2485, allocations: 406.5 kB / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.2485, allocations: 32.31 kB / 1.086 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2487, allocations: 131.5 kB / 1.087 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.2489, allocations: 251 kB / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.249, allocations: 24 kB / 1.087 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.2493, allocations: 263.7 kB / 1.087 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.2496, allocations: 382.8 kB / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.25, allocations: 409.7 kB / 1.088 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009417/0.2509, allocations: 1.145 MB / 1.089 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2509, allocations: 7.938 kB / 1.089 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2509, allocations: 0 / 1.089 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2509, allocations: 0 / 1.089 GB, free: 6.223 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.001456/0.2524, allocations: 1.22 MB / 1.09 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2524, allocations: 8.031 kB / 1.09 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.2525, allocations: 46.73 kB / 1.09 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005779/0.2531, allocations: 151.7 kB / 1.09 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.2567, allocations: 4.257 MB / 1.095 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2567, allocations: 16.38 kB / 1.095 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.2568, allocations: 16.36 kB / 1.095 GB, free: 404 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.2576, allocations: 0.638 MB / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2576, allocations: 0 / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.2576, allocations: 8 kB / 1.095 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2576, allocations: 4 kB / 1.095 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.2588, allocations: 1.109 MB / 1.096 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.262, allocations: 3.154 MB / 1.099 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.2627, allocations: 346.7 kB / 1.1 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.263, allocations: 232.8 kB / 1.1 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.2631, allocations: 31.89 kB / 1.1 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2631, allocations: 42.5 kB / 1.1 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.2631, allocations: 0 / 1.1 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001131/0.2643, allocations: 0.7133 MB / 1.101 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2643, allocations: 55.41 kB / 1.101 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006579/0.2709, allocations: 6.489 MB / 1.107 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.2709, allocations: 37.64 kB / 1.107 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.2713, allocations: 416.2 kB / 1.107 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.2713, allocations: 63.09 kB / 1.108 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.2714, allocations: 57.61 kB / 1.108 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2716, allocations: 318 kB / 1.108 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.2721, allocations: 0.531 MB / 1.108 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.2727, allocations: 0.5578 MB / 1.109 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/0.2737, allocations: 0.7718 MB / 1.11 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2737, allocations: 0 / 1.11 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001394/0.2751, allocations: 1.227 MB / 1.111 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2751, allocations: 4 kB / 1.111 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2751, allocations: 0 / 1.111 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2751, allocations: 4 kB / 1.111 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.2754, allocations: 63.98 kB / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2754, allocations: 3.938 kB / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2758, allocations: 39.73 kB / 1.111 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.2758, allocations: 15.98 kB / 1.111 GB, free: 15.34 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.0002827/0.2761, allocations: 277.7 kB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2762, allocations: 90.81 kB / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.2771, allocations: 0.5663 MB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2771, allocations: 7.938 kB / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2771, allocations: 0 / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2771, allocations: 3.984 kB / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.2802, allocations: 2.822 MB / 1.115 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2802, allocations: 4 kB / 1.115 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.2804, allocations: 47.91 kB / 1.115 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2804, allocations: 4 kB / 1.115 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.2804, allocations: 11.98 kB / 1.115 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.2804, allocations: 4 kB / 1.115 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.2805, allocations: 7.938 kB / 1.115 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.2814, allocations: 0.6794 MB / 1.115 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.2816, allocations: 259.8 kB / 1.116 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.2817, allocations: 4 kB / 1.116 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.2821, allocations: 27.98 kB / 1.116 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2821, allocations: 35.84 kB / 1.116 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2822, allocations: 8 kB / 1.116 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.004464/0.2866, allocations: 5.157 MB / 1.121 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2866, allocations: 0 / 1.121 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005054/0.2871, allocations: 192 kB / 1.121 GB, free: 4.906 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.00133/0.2885, allocations: 1.284 MB / 1.122 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009703/0.2895, allocations: 0.7846 MB / 1.123 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2895, allocations: 0 / 1.123 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.2898, allocations: 224.6 kB / 1.123 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007362/0.2905, allocations: 197.7 kB / 1.123 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/0.3143, allocations: 23.49 MB / 1.146 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.3149, allocations: 0.9992 MB / 1.147 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.3153, allocations: 141.4 kB / 1.147 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.3157, allocations: 295.3 kB / 1.148 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.3157, allocations: 0 / 1.148 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.918/7.234, allocations: 23.26 MB / 1.17 GB, free: 2.102 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004746/7.234, allocations: 234.5 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.688/12.92, allocations: 3 kB / 1.171 GB, free: 1.84 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 & /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