Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",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.008489/0.008489, allocations: 108.3 kB / 15.74 MB, free: 6.055 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.002047/0.002047, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.84 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8274, allocations: 151.6 MB / 1.166 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006929/0.8343, allocations: 4.906 MB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009908/0.8443, allocations: 5.63 MB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.8454, allocations: 27.88 kB / 1.176 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.8487, allocations: 1.281 MB / 1.178 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.8514, allocations: 1.297 MB / 1.179 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.8545, allocations: 1.547 MB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02434/0.8788, allocations: 17.06 MB / 1.197 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.8794, allocations: 160.4 kB / 1.197 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.8809, allocations: 0.8293 MB / 1.198 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.882, allocations: 0.8052 MB / 1.199 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.8822, allocations: 96 kB / 1.199 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.8838, allocations: 0.9281 MB / 1.2 GB, free: 1.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007593/0.8845, allocations: 0.9349 MB / 1.201 GB, free: 308 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.886, allocations: 1.092 MB / 1.202 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.8895, allocations: 3.239 MB / 1.205 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8895, allocations: 3.984 kB / 1.205 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8895, allocations: 0 / 1.205 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.9e-05/0.8895, allocations: 0 / 1.205 GB, free: 11.95 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00473/0.8943, allocations: 2.786 MB / 1.208 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.8943, allocations: 12.92 kB / 1.208 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.395e-05/0.8944, allocations: 62.55 kB / 1.208 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.8998, allocations: 0.9452 MB / 1.209 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006484/0.9063, allocations: 4.61 MB / 1.213 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/0.9064, allocations: 44.59 kB / 1.213 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.9065, allocations: 47.98 kB / 1.213 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.9088, allocations: 0.9426 MB / 1.214 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.9088, allocations: 3.984 kB / 1.214 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.9089, allocations: 20 kB / 1.214 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.9089, allocations: 8 kB / 1.214 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.9122, allocations: 1.025 MB / 1.215 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007472/0.9196, allocations: 3.223 MB / 1.218 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003408/0.9231, allocations: 1.111 MB / 1.22 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.9245, allocations: 456.4 kB / 1.22 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.9246, allocations: 15.97 kB / 1.22 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.9246, allocations: 34.56 kB / 1.22 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.845e-06/0.9246, allocations: 0 / 1.22 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.00509/0.9297, allocations: 1.547 MB / 1.222 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.9298, allocations: 59.27 kB / 1.222 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/0.9362, allocations: 3.733 MB / 1.225 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.9364, allocations: 37.7 kB / 1.225 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.9374, allocations: 0.8301 MB / 1.226 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.9377, allocations: 146.1 kB / 1.226 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009606/0.9387, allocations: 0.5676 MB / 1.227 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.9388, allocations: 305.1 kB / 1.227 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/0.9415, allocations: 1.494 MB / 1.229 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/0.9446, allocations: 1.962 MB / 1.23 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005313/0.95, allocations: 3.089 MB / 1.233 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.95, allocations: 4 kB / 1.233 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007218/0.9572, allocations: 3.79 MB / 1.237 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.9573, allocations: 18.44 kB / 1.237 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.9573, allocations: 8 kB / 1.237 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/0.9574, allocations: 16 kB / 1.237 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.9592, allocations: 443.5 kB / 1.238 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.014e-05/0.9593, allocations: 23.92 kB / 1.238 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.9619, allocations: 345.4 kB / 1.238 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.9622, allocations: 95.95 kB / 1.238 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003616/0.9658, allocations: 1.914 MB / 1.24 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00298/0.9688, allocations: 1.805 MB / 1.242 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004954/0.9738, allocations: 2.783 MB / 1.244 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.484e-05/0.9738, allocations: 7.938 kB / 1.244 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006644/0.9805, allocations: 3.478 MB / 1.248 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9805, allocations: 8 kB / 1.248 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.9806, allocations: 12 kB / 1.248 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.9806, allocations: 20.19 kB / 1.248 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.9824, allocations: 443.4 kB / 1.248 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.361e-05/0.9824, allocations: 19.94 kB / 1.248 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.9851, allocations: 306.5 kB / 1.249 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.9853, allocations: 83.97 kB / 1.249 GB, free: 14.43 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (209): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0004428/0.9857, allocations: 267.6 kB / 1.249 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006419/0.9864, allocations: 220.9 kB / 1.249 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.99, allocations: 1.16 MB / 1.25 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.9901, allocations: 4 kB / 1.25 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.9901, allocations: 3.984 kB / 1.25 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9901, allocations: 0 / 1.25 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.9923, allocations: 1.391 MB / 1.252 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.9924, allocations: 7.938 kB / 1.252 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.9934, allocations: 163.8 kB / 1.252 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.9934, allocations: 0 / 1.252 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.9935, allocations: 23.92 kB / 1.252 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.9935, allocations: 3.984 kB / 1.252 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9935, allocations: 0 / 1.252 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/0.997, allocations: 1.244 MB / 1.253 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.9981, allocations: 481.6 kB / 1.254 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/0.9987, allocations: 8 kB / 1.254 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1, allocations: 143.8 kB / 1.254 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/1, allocations: 27.97 kB / 1.254 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/1.001, allocations: 19.98 kB / 1.254 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004143/1.005, allocations: 2.529 MB / 1.256 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.61e-07/1.005, allocations: 0 / 1.256 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003097/1.008, allocations: 0.9451 MB / 1.257 GB, free: 5.699 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 39 * 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.004654/1.012, allocations: 2.095 MB / 1.259 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007994/1.02, allocations: 4.121 MB / 1.263 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.02, allocations: 0 / 1.263 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.022, allocations: 476.5 kB / 1.264 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004812/1.027, allocations: 0.9332 MB / 1.265 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06253/1.089, allocations: 25.86 MB / 1.29 GB, free: 3.824 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.091, allocations: 1.646 MB / 1.291 GB, free: 2.145 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002526/1.093, allocations: 0.7656 MB / 1.292 GB, free: 1.375 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.095, allocations: 0.9053 MB / 1.293 GB, free: 480 kB / 1.014 GB Notification: Performance of SimCode: time 8.81e-07/1.095, allocations: 0 / 1.293 GB, free: 480 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/1.208, allocations: 66.85 MB / 1.358 GB, free: 14.29 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.79, allocations: 6.297 kB / 1.358 GB, free: 14.29 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches