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.001606/0.001606, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001477/0.001477, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.538/2.538, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.62 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006295/0.3083, allocations: 4.904 MB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009811/0.3182, allocations: 5.637 MB / 1.075 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.3196, allocations: 31.88 kB / 1.075 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.5725/0.8923, allocations: 11.21 MB / 1.085 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.8956, allocations: 1.207 MB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.899, allocations: 1.515 MB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0266/0.9256, allocations: 15.5 MB / 1.103 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.9261, allocations: 173.7 kB / 1.103 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.9279, allocations: 0.7631 MB / 1.104 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.9291, allocations: 0.748 MB / 1.105 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.9293, allocations: 79.75 kB / 1.105 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.9324, allocations: 1.482 MB / 1.106 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.9337, allocations: 0.9273 MB / 1.107 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.935, allocations: 1.047 MB / 1.108 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.9415, allocations: 3.542 MB / 1.112 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9415, allocations: 4.703 kB / 1.112 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9415, allocations: 0 / 1.112 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.478e-05/0.9416, allocations: 0.7188 kB / 1.112 GB, free: 7.621 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.007689/0.9493, allocations: 2.733 MB / 1.115 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.9494, allocations: 10.03 kB / 1.115 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005868/0.9552, allocations: 0.9413 MB / 1.115 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/0.9634, allocations: 4.205 MB / 1.12 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.9636, allocations: 52.78 kB / 1.12 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.9638, allocations: 43.75 kB / 1.12 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.9665, allocations: 0.8958 MB / 1.121 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.9666, allocations: 7.938 kB / 1.121 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.9667, allocations: 10.56 kB / 1.121 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.9667, allocations: 11.06 kB / 1.121 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.9699, allocations: 0.9429 MB / 1.121 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007489/0.9774, allocations: 2.913 MB / 1.124 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.9804, allocations: 1.037 MB / 1.125 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.9816, allocations: 410.6 kB / 1.126 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.9817, allocations: 9.422 kB / 1.126 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.9817, allocations: 36.7 kB / 1.126 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=32): time 2.736e-06/0.9817, allocations: 0 / 1.126 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=32): time 0.004739/0.9864, allocations: 1.423 MB / 1.127 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.9865, allocations: 54.41 kB / 1.127 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/0.9923, allocations: 3.184 MB / 1.13 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003379/0.9926, allocations: 43.77 kB / 1.13 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008613/0.9935, allocations: 0.814 MB / 1.131 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.9937, allocations: 134.6 kB / 1.131 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009545/0.9947, allocations: 0.5781 MB / 1.132 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9948, allocations: 309.1 kB / 1.132 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.9978, allocations: 1.49 MB / 1.134 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003368/1.001, allocations: 1.938 MB / 1.135 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/1.007, allocations: 3.066 MB / 1.138 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/1.007, allocations: 6.281 kB / 1.138 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.007975/1.015, allocations: 3.768 MB / 1.142 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/1.015, allocations: 9.625 kB / 1.142 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.015, allocations: 6.906 kB / 1.142 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.878e-05/1.015, allocations: 18.28 kB / 1.142 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.017, allocations: 432.2 kB / 1.143 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.31e-05/1.017, allocations: 20.28 kB / 1.143 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.02, allocations: 315.2 kB / 1.143 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.02, allocations: 99.55 kB / 1.143 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003463/1.023, allocations: 1.895 MB / 1.145 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002855/1.026, allocations: 1.807 MB / 1.147 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004788/1.031, allocations: 2.775 MB / 1.149 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.765e-06/1.031, allocations: 0 / 1.149 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.006859/1.038, allocations: 3.471 MB / 1.153 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.038, allocations: 11.98 kB / 1.153 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.038, allocations: 8 kB / 1.153 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.038, allocations: 16 kB / 1.153 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.04, allocations: 431.6 kB / 1.153 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.373e-05/1.04, allocations: 19.94 kB / 1.153 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.043, allocations: 266.6 kB / 1.153 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/1.043, allocations: 87.97 kB / 1.154 GB, free: 13.93 MB / 0.8731 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 (210): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 5 * 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.0005035/1.043, allocations: 259.6 kB / 1.154 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/1.044, allocations: 224.9 kB / 1.154 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/1.047, allocations: 1.099 MB / 1.155 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.047, allocations: 4 kB / 1.155 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.047, allocations: 4 kB / 1.155 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.047, allocations: 0 / 1.155 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/1.05, allocations: 1.271 MB / 1.156 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.05, allocations: 0 / 1.156 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008649/1.051, allocations: 155.8 kB / 1.156 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.051, allocations: 0 / 1.156 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/1.051, allocations: 12 kB / 1.156 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/1.051, allocations: 7.984 kB / 1.156 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.051, allocations: 0 / 1.156 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.054, allocations: 1.155 MB / 1.158 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.055, allocations: 425.8 kB / 1.158 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/1.055, allocations: 8 kB / 1.158 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.057, allocations: 111.9 kB / 1.158 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/1.057, allocations: 23.97 kB / 1.158 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/1.057, allocations: 19.98 kB / 1.158 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003518/1.06, allocations: 2.09 MB / 1.16 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.06, allocations: 0 / 1.16 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004174/1.064, allocations: 1.019 MB / 1.161 GB, free: 5.961 MB / 0.8731 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 (36): * Single equations (assignments): 36 * 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.001575/1.066, allocations: 0.5078 MB / 1.162 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007869/1.074, allocations: 4.096 MB / 1.166 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.074, allocations: 0 / 1.166 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.075, allocations: 436.6 kB / 1.166 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/1.08, allocations: 0.9273 MB / 1.167 GB, free: 52 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02828/1.108, allocations: 6.754 MB / 1.174 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.109, allocations: 1.642 MB / 1.175 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.111, allocations: 203.3 kB / 1.175 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/1.111, allocations: 0 / 1.175 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of Templates: time 0.06025/1.171, allocations: 37.27 MB / 1.212 GB, free: 2.359 MB / 0.92 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/jenkins1/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