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: 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_10_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_10_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.00152/0.00152, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001683/0.001683, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.14 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.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 60.12 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.945/0.947, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006774/0.9538, allocations: 4.907 MB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.9641, allocations: 5.634 MB / 1.178 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.9654, allocations: 23.88 kB / 1.178 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.9691, allocations: 1.287 MB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.9728, allocations: 1.308 MB / 1.18 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.9764, allocations: 1.543 MB / 1.182 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02675/1.003, allocations: 17.06 MB / 1.198 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/1.004, allocations: 172.4 kB / 1.198 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/1.006, allocations: 0.8254 MB / 1.199 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/1.007, allocations: 0.8052 MB / 1.2 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004784/1.008, allocations: 100 kB / 1.2 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/1.01, allocations: 0.9203 MB / 1.201 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/1.011, allocations: 0.9465 MB / 1.202 GB, free: 212 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/1.013, allocations: 1.072 MB / 1.203 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005403/1.019, allocations: 3.188 MB / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.019, allocations: 0 / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/1.019, allocations: 0 / 1.206 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001143/1.019, allocations: 0 / 1.206 GB, free: 11.93 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.007799/1.027, allocations: 2.747 MB / 1.209 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.027, allocations: 8.922 kB / 1.209 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/1.033, allocations: 0.9413 MB / 1.21 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00762/1.04, allocations: 4.309 MB / 1.214 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/1.04, allocations: 32.59 kB / 1.214 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/1.041, allocations: 48 kB / 1.214 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/1.043, allocations: 0.9427 MB / 1.215 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.043, allocations: 3.938 kB / 1.215 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/1.043, allocations: 12 kB / 1.215 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.043, allocations: 4 kB / 1.215 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/1.047, allocations: 1.033 MB / 1.216 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/1.055, allocations: 3.113 MB / 1.219 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/1.059, allocations: 1.109 MB / 1.22 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/1.06, allocations: 452.4 kB / 1.221 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/1.06, allocations: 11.98 kB / 1.221 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.06, allocations: 42.5 kB / 1.221 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/1.06, allocations: 0 / 1.221 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.005314/1.065, allocations: 1.539 MB / 1.222 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/1.065, allocations: 59.27 kB / 1.222 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006722/1.072, allocations: 3.345 MB / 1.225 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002483/1.073, allocations: 45.69 kB / 1.225 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009682/1.073, allocations: 0.8065 MB / 1.226 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/1.074, allocations: 138.3 kB / 1.226 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.075, allocations: 0.5754 MB / 1.227 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.075, allocations: 309.1 kB / 1.227 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/1.078, allocations: 1.498 MB / 1.229 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/1.081, allocations: 1.954 MB / 1.231 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/1.087, allocations: 3.086 MB / 1.234 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/1.087, allocations: 3.984 kB / 1.234 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007176/1.094, allocations: 3.782 MB / 1.237 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.094, allocations: 10.5 kB / 1.237 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.094, allocations: 8 kB / 1.237 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/1.094, allocations: 16 kB / 1.237 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.096, allocations: 447.6 kB / 1.238 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.463e-05/1.096, allocations: 23.92 kB / 1.238 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/1.099, allocations: 349.3 kB / 1.238 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/1.099, allocations: 99.95 kB / 1.238 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003591/1.103, allocations: 1.902 MB / 1.24 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003047/1.106, allocations: 1.817 MB / 1.242 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004914/1.111, allocations: 2.791 MB / 1.245 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-05/1.111, allocations: 0 / 1.245 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006796/1.118, allocations: 3.486 MB / 1.248 GB, free: 240 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.118, allocations: 11.98 kB / 1.248 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/1.118, allocations: 8 kB / 1.248 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.118, allocations: 19.94 kB / 1.248 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.119, allocations: 443.5 kB / 1.248 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.066e-05/1.12, allocations: 23.92 kB / 1.249 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/1.122, allocations: 290.6 kB / 1.249 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/1.122, allocations: 91.95 kB / 1.249 GB, free: 15.36 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.0004685/1.123, allocations: 267.6 kB / 1.249 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006747/1.124, allocations: 224.8 kB / 1.249 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/1.127, allocations: 1.163 MB / 1.25 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/1.127, allocations: 8 kB / 1.25 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.127, allocations: 0 / 1.25 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/1.127, allocations: 3.984 kB / 1.25 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/1.13, allocations: 1.351 MB / 1.252 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.13, allocations: 0 / 1.252 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/1.131, allocations: 171.8 kB / 1.252 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/1.131, allocations: 0 / 1.252 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/1.131, allocations: 15.98 kB / 1.252 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.131, allocations: 0 / 1.252 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.131, allocations: 0 / 1.252 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/1.134, allocations: 1.248 MB / 1.253 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.136, allocations: 457.6 kB / 1.254 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005765/1.136, allocations: 12 kB / 1.254 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.138, allocations: 135.8 kB / 1.254 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/1.138, allocations: 27.95 kB / 1.254 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/1.138, allocations: 19.98 kB / 1.254 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004255/1.142, allocations: 2.223 MB / 1.256 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.218e-06/1.142, allocations: 4 kB / 1.256 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003839/1.146, allocations: 0.941 MB / 1.257 GB, free: 7.004 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.001243/1.148, allocations: 406.8 kB / 1.257 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00841/1.156, allocations: 4.124 MB / 1.261 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.156, allocations: 1.75 kB / 1.261 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/1.157, allocations: 479.8 kB / 1.262 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/1.162, allocations: 0.9422 MB / 1.263 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/1.191, allocations: 6.566 MB / 1.269 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/1.193, allocations: 1.638 MB / 1.271 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.194, allocations: 215.3 kB / 1.271 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.194, allocations: 0 / 1.271 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of Templates: time 0.05914/1.253, allocations: 36.95 MB / 1.307 GB, free: 3.922 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.makefile (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 & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.mat","/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