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.001821/0.001821, 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.002061/0.002061, allocations: 192.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.526/1.526, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 482.3 MB / 0.7546 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.19 kB / 0.9238 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3011, allocations: 162.2 MB / 1.082 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00337/0.3045, allocations: 2.059 MB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.3069, allocations: 1.367 MB / 1.086 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.307, allocations: 3.938 kB / 1.086 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.3077, allocations: 247.2 kB / 1.086 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.3088, allocations: 434.8 kB / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.656e-06/0.3088, allocations: 3.938 kB / 1.086 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.3092, allocations: 394.5 kB / 1.087 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.3093, allocations: 36.3 kB / 1.087 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.3095, allocations: 143.4 kB / 1.087 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.3097, allocations: 191.2 kB / 1.087 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.3098, allocations: 20 kB / 1.087 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.3103, allocations: 271.7 kB / 1.087 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.3106, allocations: 386.9 kB / 1.088 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.311, allocations: 405.7 kB / 1.088 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.3122, allocations: 1.145 MB / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3122, allocations: 0 / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3122, allocations: 0 / 1.089 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3123, allocations: 0 / 1.089 GB, free: 6.152 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.001762/0.314, allocations: 1.232 MB / 1.09 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3141, allocations: 8.031 kB / 1.09 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.3141, allocations: 46.73 kB / 1.09 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006877/0.3148, allocations: 151.7 kB / 1.091 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.3191, allocations: 4.253 MB / 1.095 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.3192, allocations: 16.38 kB / 1.095 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.3192, allocations: 12.38 kB / 1.095 GB, free: 328 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.3201, allocations: 0.6341 MB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3201, allocations: 4 kB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.3202, allocations: 4 kB / 1.095 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3202, allocations: 15.92 kB / 1.095 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.3216, allocations: 1.105 MB / 1.096 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.3254, allocations: 3.154 MB / 1.1 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.3262, allocations: 342.7 kB / 1.1 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.3266, allocations: 232.8 kB / 1.1 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.3267, allocations: 27.92 kB / 1.1 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3267, allocations: 34.91 kB / 1.1 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 3.907e-06/0.3267, allocations: 0 / 1.1 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.001372/0.3281, allocations: 0.7201 MB / 1.101 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3282, allocations: 55.41 kB / 1.101 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007673/0.3358, allocations: 6.489 MB / 1.107 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.3359, allocations: 29.7 kB / 1.107 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.3363, allocations: 424.2 kB / 1.108 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.3364, allocations: 63.09 kB / 1.108 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3365, allocations: 61.59 kB / 1.108 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3367, allocations: 321.9 kB / 1.108 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/0.3374, allocations: 0.531 MB / 1.109 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.3381, allocations: 0.5522 MB / 1.109 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.3391, allocations: 0.7713 MB / 1.11 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3391, allocations: 0 / 1.11 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001698/0.3408, allocations: 1.23 MB / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3409, allocations: 8 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3409, allocations: 3.938 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3409, allocations: 4.031 kB / 1.111 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.3413, allocations: 59.95 kB / 1.111 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3413, allocations: 7.938 kB / 1.111 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.3417, allocations: 39.73 kB / 1.111 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3418, allocations: 15.98 kB / 1.111 GB, free: 15.25 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.000345/0.3421, allocations: 274.2 kB / 1.111 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.3423, allocations: 94.81 kB / 1.112 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3434, allocations: 0.5587 MB / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3434, allocations: 4 kB / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3434, allocations: 0 / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3434, allocations: 0 / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.347, allocations: 2.822 MB / 1.115 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.347, allocations: 4 kB / 1.115 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.3473, allocations: 51.89 kB / 1.115 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3473, allocations: 4 kB / 1.115 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3474, allocations: 8 kB / 1.115 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.3474, allocations: 8 kB / 1.115 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.3474, allocations: 7.938 kB / 1.115 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3485, allocations: 0.6795 MB / 1.116 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.3488, allocations: 263.8 kB / 1.116 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.349, allocations: 8 kB / 1.116 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.3494, allocations: 23.98 kB / 1.116 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.3494, allocations: 31.86 kB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.3495, allocations: 15.98 kB / 1.116 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00544/0.3549, allocations: 5.153 MB / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3549, allocations: 0 / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007582/0.3557, allocations: 188 kB / 1.121 GB, free: 4.832 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.00169/0.3574, allocations: 1.292 MB / 1.122 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.3586, allocations: 0.773 MB / 1.123 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3586, allocations: 4 kB / 1.123 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.359, allocations: 224.8 kB / 1.123 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009275/0.3599, allocations: 205.6 kB / 1.124 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/0.3871, allocations: 23.34 MB / 1.146 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.3878, allocations: 0.9992 MB / 1.147 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004388/0.3883, allocations: 149.4 kB / 1.147 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.3887, allocations: 295.3 kB / 1.148 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of SimCode: time 8.32e-07/0.3887, allocations: 4 kB / 1.148 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0568/0.4455, allocations: 23.38 MB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.568, allocations: 7.797 kB / 1.171 GB, free: 1.996 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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