Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001387/0.001387, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001377/0.001377, allocations: 187 kB / 17.34 MB, free: 5.719 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 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.12 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9473/0.9488, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.007009/0.9559, allocations: 4.886 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.9663, allocations: 5.626 MB / 1.178 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.9675, allocations: 27.88 kB / 1.178 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.9714, allocations: 1.278 MB / 1.179 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.9748, allocations: 1.309 MB / 1.18 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.9783, allocations: 1.543 MB / 1.182 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02105/0.9994, allocations: 14.67 MB / 1.196 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.9999, allocations: 164.4 kB / 1.196 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/1.002, allocations: 0.8176 MB / 1.197 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/1.003, allocations: 0.7857 MB / 1.198 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004138/1.004, allocations: 92 kB / 1.198 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/1.006, allocations: 0.893 MB / 1.199 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/1.007, allocations: 0.9232 MB / 1.2 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001632/1.008, allocations: 1.029 MB / 1.201 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004299/1.013, allocations: 3.025 MB / 1.203 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.013, allocations: 0 / 1.203 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.215e-06/1.013, allocations: 4 kB / 1.203 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.601e-05/1.013, allocations: 0 / 1.203 GB, free: 14.64 MB / 0.9356 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.006539/1.019, allocations: 2.661 MB / 1.206 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.02, allocations: 12.92 kB / 1.206 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/1.023, allocations: 0.598 MB / 1.207 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006775/1.03, allocations: 2.946 MB / 1.21 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/1.03, allocations: 40.59 kB / 1.21 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/1.03, allocations: 48 kB / 1.21 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/1.032, allocations: 0.6773 MB / 1.21 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.032, allocations: 0 / 1.21 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.938e-05/1.032, allocations: 16 kB / 1.21 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/1.032, allocations: 8 kB / 1.21 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/1.034, allocations: 0.6503 MB / 1.211 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/1.041, allocations: 2.759 MB / 1.214 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/1.043, allocations: 0.761 MB / 1.214 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000943/1.044, allocations: 324.5 kB / 1.215 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/1.044, allocations: 11.97 kB / 1.215 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.044, allocations: 38.56 kB / 1.215 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 3.125e-06/1.044, allocations: 0 / 1.215 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.003744/1.048, allocations: 1.165 MB / 1.216 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/1.048, allocations: 59.27 kB / 1.216 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00605/1.054, allocations: 3.214 MB / 1.219 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/1.054, allocations: 37.8 kB / 1.219 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000965/1.055, allocations: 0.8101 MB / 1.22 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/1.056, allocations: 142.2 kB / 1.22 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/1.057, allocations: 0.5754 MB / 1.221 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.057, allocations: 309.1 kB / 1.221 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/1.059, allocations: 1.252 MB / 1.222 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/1.062, allocations: 1.723 MB / 1.224 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/1.066, allocations: 2.619 MB / 1.226 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/1.066, allocations: 4 kB / 1.226 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006245/1.072, allocations: 3.312 MB / 1.23 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/1.073, allocations: 15.94 kB / 1.23 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.073, allocations: 8 kB / 1.23 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.653e-05/1.073, allocations: 16 kB / 1.23 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.074, allocations: 411.6 kB / 1.23 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.512e-05/1.074, allocations: 19.94 kB / 1.23 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/1.077, allocations: 325.9 kB / 1.23 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.077, allocations: 104 kB / 1.23 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003379/1.081, allocations: 1.726 MB / 1.232 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002658/1.083, allocations: 1.651 MB / 1.234 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004147/1.088, allocations: 2.456 MB / 1.236 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/1.088, allocations: 4 kB / 1.236 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005956/1.094, allocations: 3.138 MB / 1.239 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.094, allocations: 12 kB / 1.239 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.094, allocations: 8 kB / 1.239 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/1.094, allocations: 16 kB / 1.239 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.095, allocations: 403.6 kB / 1.24 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.462e-05/1.095, allocations: 19.94 kB / 1.24 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/1.098, allocations: 270.5 kB / 1.24 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.098, allocations: 95.97 kB / 1.24 GB, free: 8.363 MB / 0.9669 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.0004751/1.099, allocations: 263.9 kB / 1.24 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006065/1.099, allocations: 213 kB / 1.24 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/1.102, allocations: 0.916 MB / 1.241 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/1.102, allocations: 8 kB / 1.241 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.102, allocations: 0 / 1.241 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/1.102, allocations: 4 kB / 1.241 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/1.105, allocations: 1.276 MB / 1.243 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.105, allocations: 0 / 1.243 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/1.105, allocations: 131.8 kB / 1.243 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.105, allocations: 4 kB / 1.243 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/1.105, allocations: 11.98 kB / 1.243 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.105, allocations: 7.938 kB / 1.243 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.105, allocations: 0 / 1.243 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/1.108, allocations: 1.002 MB / 1.244 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.109, allocations: 405.8 kB / 1.244 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/1.11, allocations: 12 kB / 1.244 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.111, allocations: 111.8 kB / 1.244 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/1.111, allocations: 31.91 kB / 1.244 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/1.111, allocations: 23.98 kB / 1.244 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004026/1.115, allocations: 2.113 MB / 1.246 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.5e-07/1.115, allocations: 0 / 1.246 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00353/1.119, allocations: 0.9178 MB / 1.247 GB, free: 0.8203 MB / 0.9669 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.001128/1.12, allocations: 415.8 kB / 1.248 GB, free: 416 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006853/1.127, allocations: 3.549 MB / 1.251 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.127, allocations: 0 / 1.251 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.128, allocations: 348.7 kB / 1.251 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/1.132, allocations: 0.9291 MB / 1.252 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.148, allocations: 4.743 MB / 1.257 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.149, allocations: 1.638 MB / 1.259 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008739/1.15, allocations: 163.4 kB / 1.259 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/1.15, allocations: 0 / 1.259 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of Templates: time 0.05684/1.207, allocations: 35.25 MB / 1.293 GB, free: 1.992 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches