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.001616/0.001616, allocations: 108.2 kB / 16.42 MB, free: 6.516 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.001821/0.001821, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6928, allocations: 159.1 MB / 1.221 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006183/0.699, allocations: 4.885 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009656/0.7087, allocations: 5.618 MB / 1.231 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.7098, allocations: 23.94 kB / 1.231 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003401/0.7132, allocations: 1.29 MB / 1.232 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.7161, allocations: 1.304 MB / 1.234 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.7193, allocations: 1.547 MB / 1.235 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02112/0.7404, allocations: 14.67 MB / 1.25 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.7409, allocations: 168.4 kB / 1.25 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.7423, allocations: 0.8137 MB / 1.251 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.7436, allocations: 0.7896 MB / 1.251 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.744, allocations: 96 kB / 1.251 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.7458, allocations: 0.8931 MB / 1.252 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.7469, allocations: 0.927 MB / 1.253 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.7482, allocations: 1.021 MB / 1.254 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003627/0.7519, allocations: 3.021 MB / 1.257 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7519, allocations: 4 kB / 1.257 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7519, allocations: 0 / 1.257 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.345e-05/0.752, allocations: 0 / 1.257 GB, free: 13.33 MB / 0.9825 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.005248/0.7572, allocations: 2.673 MB / 1.26 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7573, allocations: 8.625 kB / 1.26 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003285/0.7606, allocations: 0.5864 MB / 1.26 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.7655, allocations: 2.958 MB / 1.263 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.7656, allocations: 32.59 kB / 1.263 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7657, allocations: 52 kB / 1.263 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.7674, allocations: 0.6812 MB / 1.264 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7674, allocations: 3.938 kB / 1.264 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.439e-05/0.7675, allocations: 12 kB / 1.264 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.7675, allocations: 4 kB / 1.264 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.7697, allocations: 0.6466 MB / 1.265 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.7748, allocations: 2.763 MB / 1.267 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.7771, allocations: 0.7644 MB / 1.268 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.7781, allocations: 317.2 kB / 1.268 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.7782, allocations: 8.453 kB / 1.268 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.7782, allocations: 46.5 kB / 1.268 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.7782, allocations: 0 / 1.268 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.003601/0.7818, allocations: 1.17 MB / 1.27 GB, free: 376 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.7818, allocations: 59.41 kB / 1.27 GB, free: 304 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/0.786, allocations: 3.21 MB / 1.273 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.7861, allocations: 41.61 kB / 1.273 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007236/0.7868, allocations: 0.7985 MB / 1.274 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.787, allocations: 142.3 kB / 1.274 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007379/0.7877, allocations: 0.5715 MB / 1.274 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.7878, allocations: 313.1 kB / 1.275 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.79, allocations: 1.252 MB / 1.276 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.7926, allocations: 1.723 MB / 1.277 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004104/0.7967, allocations: 2.616 MB / 1.28 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.7967, allocations: 8 kB / 1.28 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005584/0.8023, allocations: 3.303 MB / 1.283 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.8024, allocations: 8 kB / 1.283 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.8024, allocations: 8.188 kB / 1.283 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.8024, allocations: 20.09 kB / 1.283 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.8041, allocations: 419.3 kB / 1.284 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/0.8041, allocations: 23.92 kB / 1.284 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.8061, allocations: 317.4 kB / 1.284 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.8063, allocations: 107.9 kB / 1.284 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002853/0.8092, allocations: 1.723 MB / 1.286 GB, free: 15.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00248/0.8117, allocations: 1.647 MB / 1.287 GB, free: 13.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003956/0.8156, allocations: 2.48 MB / 1.29 GB, free: 10.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.062e-06/0.8157, allocations: 4 kB / 1.29 GB, free: 10.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005355/0.821, allocations: 3.128 MB / 1.293 GB, free: 7.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.821, allocations: 10.03 kB / 1.293 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.8211, allocations: 12.19 kB / 1.293 GB, free: 7.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8211, allocations: 19.98 kB / 1.293 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.8227, allocations: 403.4 kB / 1.293 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.8227, allocations: 19.94 kB / 1.293 GB, free: 7.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.8248, allocations: 275 kB / 1.294 GB, free: 7.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.825, allocations: 95.97 kB / 1.294 GB, free: 7.027 MB / 1.014 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.000348/0.8253, allocations: 260.4 kB / 1.294 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.8256, allocations: 216.9 kB / 1.294 GB, free: 6.551 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.8283, allocations: 0.9194 MB / 1.295 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.8284, allocations: 0 / 1.295 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8284, allocations: 0 / 1.295 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/0.8291, allocations: 409.8 kB / 1.295 GB, free: 5.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/0.8294, allocations: 4 kB / 1.295 GB, free: 5.195 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.8306, allocations: 119.8 kB / 1.296 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/0.8307, allocations: 27.95 kB / 1.296 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002717/0.8334, allocations: 0.8401 MB / 1.296 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002442/0.8358, allocations: 1.07 MB / 1.297 GB, free: 3.109 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009995/0.8369, allocations: 335.8 kB / 1.298 GB, free: 2.781 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002958/0.8398, allocations: 2.125 MB / 1.3 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of Backend: time 8.32e-07/0.8398, allocations: 0 / 1.3 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006907/0.8467, allocations: 3.625 MB / 1.303 GB, free: 13.03 MB / 1.029 GB Notification: Performance of SimCode: time 0.007464/0.8542, allocations: 4.775 MB / 1.308 GB, free: 8.223 MB / 1.029 GB Notification: Performance of Templates: time 0.07879/0.9331, allocations: 50.82 MB / 1.358 GB, free: 5.918 MB / 1.076 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