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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 489.3 MB / 0.7687 GB, free: 3.852 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9577/0.9596, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006256/0.9659, allocations: 4.902 MB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.9765, allocations: 5.629 MB / 1.273 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.9785, allocations: 27.28 kB / 1.273 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004543/0.9831, allocations: 1.291 MB / 1.274 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004277/0.9874, allocations: 1.332 MB / 1.275 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.9919, allocations: 1.524 MB / 1.277 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02271/1.015, allocations: 12.47 MB / 1.289 GB, free: 11.35 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/1.015, allocations: 161 kB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/1.017, allocations: 0.8167 MB / 1.29 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/1.019, allocations: 0.7778 MB / 1.291 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005767/1.02, allocations: 91.44 kB / 1.291 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/1.023, allocations: 0.8993 MB / 1.292 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001616/1.024, allocations: 0.9192 MB / 1.293 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002968/1.027, allocations: 1.026 MB / 1.294 GB, free: 9.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007347/1.035, allocations: 3.03 MB / 1.297 GB, free: 8.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.035, allocations: 3.938 kB / 1.297 GB, free: 8.219 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.435e-06/1.035, allocations: 0 / 1.297 GB, free: 8.219 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001527/1.035, allocations: 0 / 1.297 GB, free: 8.219 MB / 1.014 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.009546/1.044, allocations: 2.706 MB / 1.299 GB, free: 6.406 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.044, allocations: 10.45 kB / 1.299 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/1.048, allocations: 0.6137 MB / 1.3 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007621/1.056, allocations: 3.007 MB / 1.303 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/1.056, allocations: 35.69 kB / 1.303 GB, free: 4.801 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/1.056, allocations: 52.61 kB / 1.303 GB, free: 4.781 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/1.058, allocations: 0.6813 MB / 1.304 GB, free: 4.578 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/1.059, allocations: 0 / 1.304 GB, free: 4.578 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/1.059, allocations: 10.53 kB / 1.304 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.059, allocations: 11.12 kB / 1.304 GB, free: 4.566 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/1.061, allocations: 0.6379 MB / 1.304 GB, free: 4.414 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008263/1.069, allocations: 2.74 MB / 1.307 GB, free: 3.145 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/1.072, allocations: 0.771 MB / 1.308 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/1.073, allocations: 319.2 kB / 1.308 GB, free: 2.824 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/1.073, allocations: 6.438 kB / 1.308 GB, free: 2.824 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.073, allocations: 38.12 kB / 1.308 GB, free: 2.781 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/1.073, allocations: 0 / 1.308 GB, free: 2.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.004474/1.078, allocations: 1.197 MB / 1.309 GB, free: 2.371 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/1.078, allocations: 55.44 kB / 1.309 GB, free: 2.309 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008531/1.086, allocations: 3.192 MB / 1.312 GB, free: 1.121 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003457/1.087, allocations: 40.61 kB / 1.312 GB, free: 1.078 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.088, allocations: 0.8189 MB / 1.313 GB, free: 452 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004/1.088, allocations: 149.3 kB / 1.313 GB, free: 340 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/1.09, allocations: 0.5772 MB / 1.314 GB, free: 108 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.091, allocations: 306.9 kB / 1.314 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002966/1.094, allocations: 1.252 MB / 1.315 GB, free: 15.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/1.097, allocations: 1.725 MB / 1.317 GB, free: 14.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/1.102, allocations: 2.624 MB / 1.32 GB, free: 13.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/1.102, allocations: 2.625 kB / 1.32 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007184/1.109, allocations: 3.313 MB / 1.323 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.109, allocations: 10.72 kB / 1.323 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/1.109, allocations: 9.266 kB / 1.323 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.67e-05/1.109, allocations: 17.41 kB / 1.323 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/1.111, allocations: 410.3 kB / 1.323 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.902e-05/1.111, allocations: 23.27 kB / 1.323 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003801/1.115, allocations: 302.9 kB / 1.324 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005476/1.116, allocations: 103.4 kB / 1.324 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005339/1.121, allocations: 1.731 MB / 1.325 GB, free: 11.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003559/1.125, allocations: 1.657 MB / 1.327 GB, free: 10.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004799/1.129, allocations: 2.464 MB / 1.329 GB, free: 9.195 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.745e-05/1.129, allocations: 2.781 kB / 1.329 GB, free: 9.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.00674/1.136, allocations: 3.15 MB / 1.333 GB, free: 7.734 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.136, allocations: 9.062 kB / 1.333 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/1.136, allocations: 9 kB / 1.333 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/1.136, allocations: 16.28 kB / 1.333 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.138, allocations: 403.1 kB / 1.333 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.341e-05/1.138, allocations: 23.2 kB / 1.333 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/1.141, allocations: 248.9 kB / 1.333 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/1.141, allocations: 93.94 kB / 1.333 GB, free: 7.465 MB / 1.029 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.0005702/1.141, allocations: 268.7 kB / 1.334 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007776/1.142, allocations: 227.1 kB / 1.334 GB, free: 7.074 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/1.145, allocations: 0.923 MB / 1.335 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.145, allocations: 4.344 kB / 1.335 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.145, allocations: 0 / 1.335 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/1.145, allocations: 5.172 kB / 1.335 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/1.149, allocations: 1.279 MB / 1.336 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.149, allocations: 0 / 1.336 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/1.149, allocations: 138.2 kB / 1.336 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.149, allocations: 2.062 kB / 1.336 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/1.15, allocations: 13.42 kB / 1.336 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.15, allocations: 1.062 kB / 1.336 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.15, allocations: 1.125 kB / 1.336 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/1.152, allocations: 1.01 MB / 1.337 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009876/1.153, allocations: 420.7 kB / 1.337 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/1.154, allocations: 10.53 kB / 1.337 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.155, allocations: 87.14 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/1.155, allocations: 28.88 kB / 1.338 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/1.155, allocations: 27.3 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003522/1.159, allocations: 2.1 MB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.159, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003313/1.162, allocations: 0.9103 MB / 1.341 GB, free: 3.445 MB / 1.029 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.001111/1.163, allocations: 415.5 kB / 1.341 GB, free: 3.211 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006969/1.17, allocations: 3.539 MB / 1.344 GB, free: 1.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.17, allocations: 5.156 kB / 1.344 GB, free: 1.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.171, allocations: 351.2 kB / 1.345 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/1.175, allocations: 0.9337 MB / 1.346 GB, free: 1.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.19, allocations: 4.789 MB / 1.35 GB, free: 13.87 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.191, allocations: 1.627 MB / 1.352 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009445/1.192, allocations: 163.4 kB / 1.352 GB, free: 12.05 MB / 1.045 GB Notification: Performance of SimCode: time 8.52e-07/1.192, allocations: 3.938 kB / 1.352 GB, free: 12.05 MB / 1.045 GB Notification: Performance of Templates: time 0.05662/1.249, allocations: 35.16 MB / 1.386 GB, free: 9.137 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.865681438939646]