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.005422/0.005429, allocations: 105 kB / 15.73 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.00133/0.00133, allocations: 191.3 kB / 16.67 MB, free: 5.977 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.376/2.376, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7921, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.007361/0.7995, allocations: 4.918 MB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.8098, allocations: 5.629 MB / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.8109, allocations: 27.88 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.8143, allocations: 1.282 MB / 1.178 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.8172, allocations: 1.313 MB / 1.179 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.8203, allocations: 1.547 MB / 1.181 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02397/0.8443, allocations: 17.06 MB / 1.197 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.8447, allocations: 172.4 kB / 1.197 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.8462, allocations: 0.8292 MB / 1.198 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.8475, allocations: 0.8052 MB / 1.199 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.8478, allocations: 96 kB / 1.199 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.8496, allocations: 0.9165 MB / 1.2 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008737/0.8504, allocations: 0.9426 MB / 1.201 GB, free: 120 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.8518, allocations: 1.088 MB / 1.202 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.8559, allocations: 3.26 MB / 1.205 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8559, allocations: 0 / 1.205 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8559, allocations: 0 / 1.205 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.275e-05/0.856, allocations: 0 / 1.205 GB, free: 11.75 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.007109/0.8631, allocations: 2.874 MB / 1.208 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.8632, allocations: 8.625 kB / 1.208 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.8633, allocations: 66.53 kB / 1.208 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00583/0.8692, allocations: 0.9544 MB / 1.209 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007994/0.8772, allocations: 4.636 MB / 1.213 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.8773, allocations: 40.59 kB / 1.213 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.8775, allocations: 47.94 kB / 1.214 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.8799, allocations: 0.9388 MB / 1.214 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.8799, allocations: 4 kB / 1.214 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.88, allocations: 12 kB / 1.214 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.88, allocations: 8 kB / 1.214 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.8834, allocations: 1.029 MB / 1.215 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007833/0.8913, allocations: 3.231 MB / 1.219 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/0.8948, allocations: 1.109 MB / 1.22 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.8962, allocations: 449.3 kB / 1.22 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.8962, allocations: 11.98 kB / 1.22 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.8963, allocations: 38.56 kB / 1.22 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.8963, allocations: 3.938 kB / 1.22 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.005216/0.9015, allocations: 1.552 MB / 1.222 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.9016, allocations: 59.27 kB / 1.222 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006264/0.9079, allocations: 3.745 MB / 1.225 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.9081, allocations: 33.7 kB / 1.225 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/0.909, allocations: 0.8425 MB / 1.226 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.9092, allocations: 142.9 kB / 1.226 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000925/0.9101, allocations: 0.5795 MB / 1.227 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9102, allocations: 313.1 kB / 1.227 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/0.913, allocations: 1.494 MB / 1.229 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003063/0.9161, allocations: 1.958 MB / 1.231 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005327/0.9215, allocations: 3.086 MB / 1.234 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.9215, allocations: 0 / 1.234 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007118/0.9286, allocations: 3.795 MB / 1.237 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.9287, allocations: 15.94 kB / 1.237 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.9287, allocations: 8 kB / 1.237 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.011e-05/0.9287, allocations: 16 kB / 1.237 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.9306, allocations: 447.5 kB / 1.238 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.364e-05/0.9306, allocations: 19.94 kB / 1.238 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.9333, allocations: 362.1 kB / 1.238 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.9335, allocations: 91.97 kB / 1.238 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003724/0.9373, allocations: 1.921 MB / 1.24 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003163/0.9405, allocations: 1.809 MB / 1.242 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005014/0.9455, allocations: 2.791 MB / 1.245 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.978e-06/0.9455, allocations: 11.94 kB / 1.245 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006871/0.9524, allocations: 3.491 MB / 1.248 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.9524, allocations: 8 kB / 1.248 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.9525, allocations: 12 kB / 1.248 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.9525, allocations: 16 kB / 1.248 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.9543, allocations: 443.5 kB / 1.249 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.561e-05/0.9544, allocations: 27.91 kB / 1.249 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.9574, allocations: 298.9 kB / 1.249 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.9576, allocations: 83.97 kB / 1.249 GB, free: 14.04 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.0004659/0.958, allocations: 267.7 kB / 1.249 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007122/0.9588, allocations: 234.3 kB / 1.249 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.9625, allocations: 1.163 MB / 1.251 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.9625, allocations: 4 kB / 1.251 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9625, allocations: 0 / 1.251 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9625, allocations: 3.938 kB / 1.251 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.965, allocations: 1.395 MB / 1.252 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.965, allocations: 3.938 kB / 1.252 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.966, allocations: 167.8 kB / 1.252 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.966, allocations: 0 / 1.252 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.966, allocations: 19.98 kB / 1.252 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9661, allocations: 0 / 1.252 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9661, allocations: 0 / 1.252 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.9696, allocations: 1.25 MB / 1.253 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.9707, allocations: 495 kB / 1.254 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/0.9713, allocations: 12 kB / 1.254 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.9729, allocations: 139.8 kB / 1.254 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.973, allocations: 27.91 kB / 1.254 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-05/0.9731, allocations: 19.98 kB / 1.254 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003954/0.977, allocations: 2.532 MB / 1.256 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.3e-07/0.977, allocations: 4 kB / 1.256 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002782/0.9798, allocations: 0.9408 MB / 1.257 GB, free: 5.281 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.004488/0.9843, allocations: 2.108 MB / 1.259 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008001/0.9923, allocations: 4.122 MB / 1.263 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.9923, allocations: 0 / 1.263 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.9938, allocations: 479.8 kB / 1.264 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.9975, allocations: 0.9433 MB / 1.265 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06297/1.06, allocations: 25.92 MB / 1.29 GB, free: 3.312 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.062, allocations: 1.654 MB / 1.292 GB, free: 1.625 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002944/1.065, allocations: 0.75 MB / 1.293 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/1.067, allocations: 0.9093 MB / 1.293 GB, free: 15.96 MB / 1.029 GB Notification: Performance of SimCode: time 1.052e-06/1.067, allocations: 0 / 1.293 GB, free: 15.96 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.183, allocations: 66.87 MB / 1.359 GB, free: 13.76 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.82, allocations: 2.438 kB / 1.359 GB, free: 13.76 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