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.005272/0.005272, allocations: 100 kB / 15.73 MB, free: 6.035 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.001089/0.00109, allocations: 187.8 kB / 16.67 MB, free: 5.969 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 71.89 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3272, allocations: 157.4 MB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.00606/0.3333, allocations: 4.887 MB / 1.213 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00956/0.3429, allocations: 5.614 MB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009757/0.3439, allocations: 27.88 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003544/0.3476, allocations: 1.281 MB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.3507, allocations: 1.272 MB / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.3539, allocations: 1.556 MB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02051/0.3744, allocations: 14.67 MB / 1.236 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.3749, allocations: 168.4 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.3765, allocations: 0.8137 MB / 1.237 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009808/0.3775, allocations: 0.7779 MB / 1.238 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.3777, allocations: 95.94 kB / 1.238 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.3795, allocations: 0.897 MB / 1.239 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.3804, allocations: 0.927 MB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009806/0.3814, allocations: 1.025 MB / 1.241 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/0.3846, allocations: 3.021 MB / 1.244 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3846, allocations: 0 / 1.244 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.468e-06/0.3846, allocations: 0 / 1.244 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.512e-05/0.3847, allocations: 3.938 kB / 1.244 GB, free: 4.469 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.004849/0.3895, allocations: 2.665 MB / 1.247 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3896, allocations: 8.625 kB / 1.247 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.3926, allocations: 0.5941 MB / 1.247 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6578/1.05, allocations: 2.947 MB / 1.25 GB, free: 38.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/1.05, allocations: 38.98 kB / 1.25 GB, free: 38.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.051, allocations: 49.97 kB / 1.25 GB, free: 38.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.052, allocations: 0.6848 MB / 1.251 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.052, allocations: 0 / 1.251 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/1.052, allocations: 13.84 kB / 1.251 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/1.052, allocations: 11.06 kB / 1.251 GB, free: 38.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/1.055, allocations: 0.6392 MB / 1.251 GB, free: 38.72 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005624/1.06, allocations: 2.767 MB / 1.254 GB, free: 38.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/1.062, allocations: 0.7612 MB / 1.255 GB, free: 38.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009556/1.063, allocations: 319.7 kB / 1.255 GB, free: 38.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/1.063, allocations: 12.59 kB / 1.255 GB, free: 38.22 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/1.063, allocations: 36.53 kB / 1.255 GB, free: 38.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.033e-06/1.063, allocations: 3.938 kB / 1.255 GB, free: 38.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.0037/1.067, allocations: 1.178 MB / 1.256 GB, free: 38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/1.067, allocations: 57.16 kB / 1.256 GB, free: 37.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004998/1.072, allocations: 3.21 MB / 1.26 GB, free: 37.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/1.072, allocations: 40.8 kB / 1.26 GB, free: 37.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007837/1.073, allocations: 0.804 MB / 1.26 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/1.073, allocations: 144.7 kB / 1.26 GB, free: 37.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009877/1.074, allocations: 0.5729 MB / 1.261 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.518e-05/1.074, allocations: 302.3 kB / 1.261 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/1.077, allocations: 1.252 MB / 1.263 GB, free: 37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/1.08, allocations: 1.725 MB / 1.264 GB, free: 36.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006595/1.087, allocations: 2.619 MB / 1.267 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/1.087, allocations: 3.062 kB / 1.267 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006813/1.094, allocations: 3.296 MB / 1.27 GB, free: 34.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.094, allocations: 9.469 kB / 1.27 GB, free: 34.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.094, allocations: 18.84 kB / 1.27 GB, free: 34.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.115e-05/1.094, allocations: 18.81 kB / 1.27 GB, free: 34.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/1.095, allocations: 415.6 kB / 1.27 GB, free: 34.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.124e-05/1.095, allocations: 22.16 kB / 1.27 GB, free: 34.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.097, allocations: 311.3 kB / 1.271 GB, free: 34.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/1.098, allocations: 106.3 kB / 1.271 GB, free: 34.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002865/1.101, allocations: 1.731 MB / 1.273 GB, free: 33.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002302/1.103, allocations: 1.653 MB / 1.274 GB, free: 33.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003802/1.107, allocations: 2.464 MB / 1.277 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.576e-06/1.107, allocations: 3.344 kB / 1.277 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006445/1.113, allocations: 3.14 MB / 1.28 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.113, allocations: 13.81 kB / 1.28 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.113, allocations: 8.953 kB / 1.28 GB, free: 30.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.113, allocations: 20.44 kB / 1.28 GB, free: 30.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.115, allocations: 406.4 kB / 1.28 GB, free: 30.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.689e-05/1.115, allocations: 22.59 kB / 1.28 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.117, allocations: 272.4 kB / 1.28 GB, free: 30.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/1.118, allocations: 89.88 kB / 1.28 GB, free: 30.71 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.0006058/1.118, allocations: 261.8 kB / 1.281 GB, free: 30.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/1.119, allocations: 222.3 kB / 1.281 GB, free: 30.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/1.121, allocations: 0.9229 MB / 1.282 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.121, allocations: 4.031 kB / 1.282 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.121, allocations: 0.9375 kB / 1.282 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.121, allocations: 3.75 kB / 1.282 GB, free: 30.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/1.123, allocations: 1.262 MB / 1.283 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.123, allocations: 2 kB / 1.283 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/1.124, allocations: 137.9 kB / 1.283 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/1.124, allocations: 1.688 kB / 1.283 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/1.124, allocations: 15.56 kB / 1.283 GB, free: 29.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.124, allocations: 6.562 kB / 1.283 GB, free: 29.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.124, allocations: 4.641 kB / 1.283 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/1.126, allocations: 0.9969 MB / 1.284 GB, free: 28.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/1.127, allocations: 411.6 kB / 1.285 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/1.127, allocations: 10.72 kB / 1.285 GB, free: 28.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.128, allocations: 107.4 kB / 1.285 GB, free: 28.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/1.128, allocations: 27.34 kB / 1.285 GB, free: 28.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/1.128, allocations: 22.2 kB / 1.285 GB, free: 28.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003276/1.131, allocations: 2.119 MB / 1.287 GB, free: 27.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.131, allocations: 0 / 1.287 GB, free: 27.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002883/1.134, allocations: 0.9168 MB / 1.288 GB, free: 27.82 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.0009747/1.135, allocations: 400.9 kB / 1.288 GB, free: 27.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006539/1.142, allocations: 3.543 MB / 1.292 GB, free: 26.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.142, allocations: 4.188 kB / 1.292 GB, free: 26.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.143, allocations: 351.9 kB / 1.292 GB, free: 26.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/1.147, allocations: 0.9308 MB / 1.293 GB, free: 26.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.16, allocations: 4.636 MB / 1.297 GB, free: 24.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.162, allocations: 1.643 MB / 1.299 GB, free: 23.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002691/1.164, allocations: 0.6728 MB / 1.3 GB, free: 23.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/1.165, allocations: 161.5 kB / 1.3 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.165, allocations: 0 / 1.3 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.06957/1.234, allocations: 45.56 MB / 1.344 GB, free: 6.781 MB / 1.014 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/jenkins/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