Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007427/0.007427, allocations: 102.1 kB / 15.73 MB, free: 6.453 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.001513/0.001513, allocations: 200 kB / 16.68 MB, free: 6.355 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3217, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006187/0.3279, allocations: 4.908 MB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009292/0.3372, allocations: 5.622 MB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.3382, allocations: 27.88 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003352/0.3415, allocations: 1.289 MB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.3445, allocations: 1.314 MB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.3476, allocations: 1.537 MB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02107/0.3687, allocations: 14.75 MB / 1.249 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.3693, allocations: 100.4 kB / 1.249 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6892/1.058, allocations: 0.8057 MB / 1.25 GB, free: 19.12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/1.06, allocations: 0.7883 MB / 1.251 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002225/1.06, allocations: 92.06 kB / 1.251 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/1.062, allocations: 0.8997 MB / 1.252 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009324/1.062, allocations: 0.9333 MB / 1.253 GB, free: 18.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009399/1.063, allocations: 1.029 MB / 1.254 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/1.067, allocations: 3.031 MB / 1.257 GB, free: 18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/1.067, allocations: 3.688 kB / 1.257 GB, free: 18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/1.067, allocations: 3.875 kB / 1.257 GB, free: 18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.013e-05/1.067, allocations: 0 / 1.257 GB, free: 18 MB / 0.9981 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.004781/1.072, allocations: 2.751 MB / 1.26 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.072, allocations: 11.16 kB / 1.26 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/1.075, allocations: 0.61 MB / 1.26 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/1.08, allocations: 2.974 MB / 1.263 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/1.08, allocations: 35.5 kB / 1.263 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/1.08, allocations: 49.56 kB / 1.263 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.082, allocations: 0.6803 MB / 1.264 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.082, allocations: 3.938 kB / 1.264 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/1.082, allocations: 15.19 kB / 1.264 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.082, allocations: 7.219 kB / 1.264 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/1.084, allocations: 0.6449 MB / 1.264 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00664/1.091, allocations: 2.757 MB / 1.267 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/1.093, allocations: 0.7475 MB / 1.268 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009944/1.094, allocations: 306.4 kB / 1.268 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/1.094, allocations: 14.09 kB / 1.268 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/1.094, allocations: 36.31 kB / 1.268 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.685e-06/1.094, allocations: 0.8438 kB / 1.268 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.004195/1.098, allocations: 1.188 MB / 1.269 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/1.098, allocations: 56.41 kB / 1.269 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/1.104, allocations: 3.22 MB / 1.273 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/1.104, allocations: 40.52 kB / 1.273 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006487/1.105, allocations: 0.8104 MB / 1.273 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.105, allocations: 149 kB / 1.274 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008255/1.106, allocations: 0.5742 MB / 1.274 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/1.106, allocations: 302.9 kB / 1.274 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/1.108, allocations: 1.26 MB / 1.276 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/1.111, allocations: 1.724 MB / 1.277 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004336/1.115, allocations: 2.621 MB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.115, allocations: 2.812 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006189/1.121, allocations: 3.317 MB / 1.283 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.121, allocations: 8.281 kB / 1.283 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.121, allocations: 9.797 kB / 1.283 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.76e-05/1.121, allocations: 16.09 kB / 1.283 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.123, allocations: 417.3 kB / 1.284 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/1.123, allocations: 26.45 kB / 1.284 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/1.126, allocations: 316.2 kB / 1.284 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/1.126, allocations: 105.2 kB / 1.284 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003165/1.129, allocations: 1.732 MB / 1.286 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002347/1.131, allocations: 1.653 MB / 1.287 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003954/1.135, allocations: 2.462 MB / 1.29 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.566e-06/1.135, allocations: 2.375 kB / 1.29 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006094/1.141, allocations: 3.15 MB / 1.293 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.141, allocations: 16.16 kB / 1.293 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.141, allocations: 7.625 kB / 1.293 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/1.142, allocations: 17.5 kB / 1.293 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.143, allocations: 402.5 kB / 1.293 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.352e-05/1.143, allocations: 26.06 kB / 1.293 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/1.146, allocations: 280.2 kB / 1.293 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/1.146, allocations: 91.89 kB / 1.294 GB, free: 5.965 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.0004681/1.147, allocations: 257.4 kB / 1.294 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005231/1.147, allocations: 236.7 kB / 1.294 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/1.15, allocations: 0.9224 MB / 1.295 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.15, allocations: 8.875 kB / 1.295 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.15, allocations: 0 / 1.295 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.15, allocations: 2.688 kB / 1.295 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/1.152, allocations: 1.27 MB / 1.296 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.152, allocations: 3.938 kB / 1.296 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/1.153, allocations: 136.7 kB / 1.296 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/1.153, allocations: 5.875 kB / 1.296 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/1.153, allocations: 13.06 kB / 1.296 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.153, allocations: 1.062 kB / 1.296 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.153, allocations: 0.7031 kB / 1.296 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/1.156, allocations: 1.007 MB / 1.297 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/1.157, allocations: 424.6 kB / 1.298 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/1.157, allocations: 6.625 kB / 1.298 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.158, allocations: 115 kB / 1.298 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/1.158, allocations: 26.2 kB / 1.298 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/1.158, allocations: 24.91 kB / 1.298 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003626/1.162, allocations: 2.114 MB / 1.3 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.162, allocations: 0 / 1.3 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003268/1.165, allocations: 0.9279 MB / 1.301 GB, free: 3.051 MB / 0.9981 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.0009263/1.166, allocations: 409 kB / 1.301 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006567/1.173, allocations: 3.204 MB / 1.304 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.173, allocations: 1.75 kB / 1.304 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.174, allocations: 338.8 kB / 1.305 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004247/1.178, allocations: 0.9261 MB / 1.306 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.194, allocations: 4.713 MB / 1.31 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/1.195, allocations: 1.639 MB / 1.312 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003247/1.199, allocations: 0.6778 MB / 1.312 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/1.199, allocations: 162.9 kB / 1.313 GB, free: 14.95 MB / 1.014 GB Notification: Performance of SimCode: time 1.473e-06/1.199, allocations: 0 / 1.313 GB, free: 14.95 MB / 1.014 GB Notification: Performance of Templates: time 0.1024/1.302, allocations: 44.91 MB / 1.357 GB, free: 13.32 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches