Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff1.eta|eff1.etaHyd|eff1.etaMot|eff2.eta|eff2.etaHyd|eff2.etaMot|eff3.eta|eff3.etaHyd|eff3.etaMot|eff4.eta|eff4.etaHyd|eff4.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff1.eta|eff1.etaHyd|eff1.etaMot|eff2.eta|eff2.etaHyd|eff2.etaMot|eff3.eta|eff3.etaHyd|eff3.etaMot|eff4.eta|eff4.etaHyd|eff4.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007546/0.007546, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001496/0.001496, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.561/2.561, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8637, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006045/0.8698, allocations: 4.917 MB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.8799, allocations: 5.624 MB / 1.218 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.8813, allocations: 27.88 kB / 1.218 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/0.8848, allocations: 1.281 MB / 1.219 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.8877, allocations: 1.315 MB / 1.221 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.8909, allocations: 1.544 MB / 1.222 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02468/0.9156, allocations: 17.07 MB / 1.239 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000486/0.9161, allocations: 164.4 kB / 1.239 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.9179, allocations: 0.8293 MB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.9195, allocations: 0.8052 MB / 1.241 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.92, allocations: 96 kB / 1.241 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.9222, allocations: 0.9281 MB / 1.242 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.9233, allocations: 0.9388 MB / 1.242 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.9252, allocations: 1.076 MB / 1.243 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.9296, allocations: 3.181 MB / 1.247 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9297, allocations: 4 kB / 1.247 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9297, allocations: 0 / 1.247 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.769e-05/0.9298, allocations: 0 / 1.247 GB, free: 5.766 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005393/0.9352, allocations: 2.743 MB / 1.249 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9352, allocations: 12.03 kB / 1.249 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/0.9404, allocations: 0.9413 MB / 1.25 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/0.9467, allocations: 4.309 MB / 1.254 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.9468, allocations: 36.59 kB / 1.254 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9469, allocations: 44 kB / 1.254 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.9493, allocations: 0.9427 MB / 1.255 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9493, allocations: 0 / 1.255 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/0.9494, allocations: 12 kB / 1.255 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.9494, allocations: 8 kB / 1.255 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.9528, allocations: 1.033 MB / 1.256 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006977/0.9597, allocations: 3.117 MB / 1.259 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.9631, allocations: 1.112 MB / 1.261 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.9645, allocations: 444.6 kB / 1.261 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.9646, allocations: 7.984 kB / 1.261 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.9646, allocations: 38.56 kB / 1.261 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.625e-06/0.9646, allocations: 4 kB / 1.261 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.005044/0.9697, allocations: 1.541 MB / 1.263 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.9697, allocations: 55.41 kB / 1.263 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/0.975, allocations: 3.349 MB / 1.266 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.9751, allocations: 37.69 kB / 1.266 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/0.9759, allocations: 0.8143 MB / 1.267 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.9761, allocations: 138.3 kB / 1.267 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008096/0.9769, allocations: 0.5715 MB / 1.267 GB, free: 184 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.977, allocations: 309.1 kB / 1.268 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002741/0.9798, allocations: 1.498 MB / 1.269 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.9829, allocations: 1.958 MB / 1.271 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.9882, allocations: 3.082 MB / 1.274 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.9883, allocations: 4 kB / 1.274 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007106/0.9954, allocations: 3.783 MB / 1.278 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.9954, allocations: 8 kB / 1.278 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.9955, allocations: 8 kB / 1.278 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.9955, allocations: 16 kB / 1.278 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.9973, allocations: 455.5 kB / 1.278 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.999e-05/0.9973, allocations: 19.94 kB / 1.278 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.9998, allocations: 357.6 kB / 1.279 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/1, allocations: 91.97 kB / 1.279 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00356/1.004, allocations: 1.91 MB / 1.281 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003227/1.007, allocations: 1.809 MB / 1.282 GB, free: 484 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005461/1.012, allocations: 2.791 MB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.145e-05/1.012, allocations: 4 kB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006843/1.019, allocations: 3.482 MB / 1.288 GB, free: 10.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.019, allocations: 15.97 kB / 1.288 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/1.019, allocations: 12 kB / 1.288 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/1.019, allocations: 19.98 kB / 1.288 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/1.021, allocations: 439.4 kB / 1.289 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.412e-05/1.021, allocations: 23.92 kB / 1.289 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.024, allocations: 290.6 kB / 1.289 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.024, allocations: 91.97 kB / 1.289 GB, free: 9.195 MB / 1.014 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.0004133/1.025, allocations: 267.7 kB / 1.29 GB, free: 8.926 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008014/1.025, allocations: 220.8 kB / 1.29 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/1.029, allocations: 1.171 MB / 1.291 GB, free: 7.527 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.029, allocations: 4 kB / 1.291 GB, free: 7.523 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.029, allocations: 4 kB / 1.291 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.029, allocations: 4 kB / 1.291 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/1.032, allocations: 1.344 MB / 1.292 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.032, allocations: 0 / 1.292 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/1.033, allocations: 175.8 kB / 1.292 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/1.033, allocations: 0 / 1.292 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/1.033, allocations: 11.98 kB / 1.292 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.033, allocations: 4 kB / 1.292 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.033, allocations: 0 / 1.292 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/1.036, allocations: 1.248 MB / 1.294 GB, free: 4.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.037, allocations: 457.6 kB / 1.294 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/1.038, allocations: 8 kB / 1.294 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.039, allocations: 143.8 kB / 1.294 GB, free: 4.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.04, allocations: 23.97 kB / 1.294 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/1.04, allocations: 19.98 kB / 1.294 GB, free: 4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00387/1.044, allocations: 2.223 MB / 1.296 GB, free: 1.777 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.044, allocations: 0 / 1.296 GB, free: 1.777 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002953/1.047, allocations: 0.9451 MB / 1.297 GB, free: 0.832 MB / 1.014 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.00119/1.048, allocations: 406.8 kB / 1.298 GB, free: 436 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008525/1.056, allocations: 4.117 MB / 1.302 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.056, allocations: 1.75 kB / 1.302 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/1.058, allocations: 487.4 kB / 1.302 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/1.062, allocations: 0.9433 MB / 1.303 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.089, allocations: 6.423 MB / 1.309 GB, free: 4.457 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/1.091, allocations: 1.654 MB / 1.311 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003629/1.095, allocations: 0.7461 MB / 1.312 GB, free: 2.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.096, allocations: 207.3 kB / 1.312 GB, free: 1.816 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/1.096, allocations: 0 / 1.312 GB, free: 1.816 MB / 1.029 GB Notification: Performance of Templates: time 0.08249/1.179, allocations: 47.19 MB / 1.358 GB, free: 3.168 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches