Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.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.MotorEfficiencyMethods,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.MotorEfficiencyMethods") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,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.MotorEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001113/0.001113, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.55/2.55, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 55.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.853, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005809/0.8589, allocations: 4.893 MB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00921/0.8681, allocations: 5.618 MB / 1.219 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.8692, allocations: 19.94 kB / 1.219 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.8725, allocations: 1.275 MB / 1.22 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.8755, allocations: 1.292 MB / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.8786, allocations: 1.544 MB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02004/0.8987, allocations: 14.66 MB / 1.237 GB, free: 396 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.8992, allocations: 164.4 kB / 1.237 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.9009, allocations: 0.8138 MB / 1.238 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.9023, allocations: 0.7857 MB / 1.239 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.9027, allocations: 92 kB / 1.239 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.9047, allocations: 0.9046 MB / 1.24 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008884/0.9056, allocations: 0.9154 MB / 1.241 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.9069, allocations: 1.029 MB / 1.242 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.9106, allocations: 3.021 MB / 1.245 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.9106, allocations: 0 / 1.245 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9106, allocations: 0 / 1.245 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.308e-05/0.9107, allocations: 0 / 1.245 GB, free: 8.625 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.005194/0.9159, allocations: 2.669 MB / 1.247 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.9159, allocations: 8.031 kB / 1.247 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/0.9191, allocations: 0.598 MB / 1.248 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005055/0.9241, allocations: 2.958 MB / 1.251 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.9242, allocations: 36.59 kB / 1.251 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.9243, allocations: 44 kB / 1.251 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.926, allocations: 0.6891 MB / 1.251 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.9261, allocations: 0 / 1.251 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.9261, allocations: 8 kB / 1.251 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.9261, allocations: 8 kB / 1.251 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.9284, allocations: 0.6466 MB / 1.252 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005352/0.9337, allocations: 2.759 MB / 1.255 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.9361, allocations: 0.7645 MB / 1.255 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009844/0.9371, allocations: 316.7 kB / 1.256 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.9372, allocations: 11.97 kB / 1.256 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.9372, allocations: 46.97 kB / 1.256 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.9372, allocations: 0 / 1.256 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.003674/0.9409, allocations: 1.17 MB / 1.257 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.941, allocations: 59.41 kB / 1.257 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005538/0.9465, allocations: 3.206 MB / 1.26 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.9469, allocations: 37.7 kB / 1.26 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009922/0.9479, allocations: 0.8062 MB / 1.261 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.9482, allocations: 142.2 kB / 1.261 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.9493, allocations: 0.5715 MB / 1.262 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9494, allocations: 313.1 kB / 1.262 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.9519, allocations: 1.252 MB / 1.263 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/0.9546, allocations: 1.727 MB / 1.265 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/0.9593, allocations: 2.616 MB / 1.267 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.9594, allocations: 4 kB / 1.267 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.00635/0.9657, allocations: 3.303 MB / 1.271 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.9658, allocations: 11.94 kB / 1.271 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.9658, allocations: 8 kB / 1.271 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.27e-05/0.9659, allocations: 20.19 kB / 1.271 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.9675, allocations: 415.4 kB / 1.271 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.741e-05/0.9676, allocations: 23.94 kB / 1.271 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.9702, allocations: 322.5 kB / 1.271 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.9705, allocations: 104 kB / 1.272 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003307/0.9738, allocations: 1.726 MB / 1.273 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00272/0.9765, allocations: 1.644 MB / 1.275 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004257/0.9808, allocations: 2.476 MB / 1.277 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.21e-05/0.9808, allocations: 4 kB / 1.277 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006022/0.9869, allocations: 3.131 MB / 1.28 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.9869, allocations: 11.94 kB / 1.28 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.9869, allocations: 12.17 kB / 1.28 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.987, allocations: 20 kB / 1.28 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.9885, allocations: 403.4 kB / 1.281 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.44e-05/0.9886, allocations: 19.94 kB / 1.281 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.991, allocations: 274.5 kB / 1.281 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.9912, allocations: 95.97 kB / 1.281 GB, free: 2.32 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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.0005047/0.9917, allocations: 260.2 kB / 1.281 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006552/0.9924, allocations: 213 kB / 1.282 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.9954, allocations: 0.9278 MB / 1.282 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.9954, allocations: 4 kB / 1.282 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9954, allocations: 0 / 1.282 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.9954, allocations: 0 / 1.282 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.998, allocations: 1.261 MB / 1.284 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.998, allocations: 0 / 1.284 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007642/0.9988, allocations: 135.8 kB / 1.284 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.9988, allocations: 0 / 1.284 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.9988, allocations: 23.92 kB / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9988, allocations: 0 / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.9989, allocations: 0 / 1.284 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/1.002, allocations: 0.9976 MB / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.003, allocations: 405.8 kB / 1.285 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/1.003, allocations: 16 kB / 1.285 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.005, allocations: 111.8 kB / 1.285 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/1.005, allocations: 27.91 kB / 1.285 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/1.005, allocations: 23.98 kB / 1.285 GB, free: 13.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003842/1.009, allocations: 2.117 MB / 1.287 GB, free: 11.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.009, allocations: 0 / 1.287 GB, free: 11.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003308/1.012, allocations: 0.9179 MB / 1.288 GB, free: 10.78 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.001084/1.014, allocations: 417 kB / 1.289 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006951/1.021, allocations: 3.544 MB / 1.292 GB, free: 6.828 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.021, allocations: 0 / 1.292 GB, free: 6.828 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.022, allocations: 352 kB / 1.293 GB, free: 6.484 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/1.026, allocations: 0.9302 MB / 1.293 GB, free: 5.574 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.042, allocations: 4.755 MB / 1.298 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/1.043, allocations: 1.63 MB / 1.3 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.044, allocations: 167.4 kB / 1.3 GB, free: 14.95 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/1.045, allocations: 0 / 1.3 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Templates: time 0.05869/1.103, allocations: 35.23 MB / 1.334 GB, free: 11.97 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches