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.001465/0.001465, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001485/0.001485, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.518/2.518, allocations: 469.4 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 64.2 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.331, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.007625/0.3386, allocations: 4.888 MB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.3495, allocations: 5.623 MB / 1.074 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.3512, allocations: 23.88 kB / 1.075 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.5782/0.9294, allocations: 10.96 MB / 1.085 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.933, allocations: 1.229 MB / 1.086 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.9365, allocations: 1.524 MB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02992/0.9664, allocations: 14.51 MB / 1.102 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.9671, allocations: 167 kB / 1.102 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.9694, allocations: 0.7714 MB / 1.103 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.9712, allocations: 0.745 MB / 1.104 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003766/0.9716, allocations: 82.06 kB / 1.104 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.9743, allocations: 0.8812 MB / 1.105 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001451/0.9758, allocations: 0.905 MB / 1.106 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.9774, allocations: 1.014 MB / 1.107 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00643/0.9838, allocations: 2.924 MB / 1.109 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9839, allocations: 0 / 1.109 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9839, allocations: 0 / 1.109 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001107/0.984, allocations: 1.031 kB / 1.109 GB, free: 8.16 MB / 0.8419 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.008526/0.9925, allocations: 2.633 MB / 1.112 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.9926, allocations: 10.06 kB / 1.112 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.997, allocations: 0.596 MB / 1.113 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/1.003, allocations: 2.901 MB / 1.115 GB, free: 5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/1.003, allocations: 46.91 kB / 1.115 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/1.003, allocations: 52.59 kB / 1.115 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.005, allocations: 0.6702 MB / 1.116 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.005, allocations: 1.438 kB / 1.116 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/1.005, allocations: 10.66 kB / 1.116 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.005, allocations: 14.98 kB / 1.116 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.007, allocations: 0.6103 MB / 1.117 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00661/1.014, allocations: 2.637 MB / 1.119 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/1.016, allocations: 0.7606 MB / 1.12 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009186/1.017, allocations: 305.9 kB / 1.12 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/1.017, allocations: 5.906 kB / 1.12 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/1.017, allocations: 39.02 kB / 1.12 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/1.017, allocations: 0 / 1.12 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33): time 0.003735/1.021, allocations: 1.134 MB / 1.122 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.021, allocations: 60.45 kB / 1.122 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/1.026, allocations: 3.117 MB / 1.125 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003258/1.026, allocations: 41.12 kB / 1.125 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/1.027, allocations: 0.8077 MB / 1.125 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/1.027, allocations: 135.1 kB / 1.126 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000827/1.028, allocations: 0.5685 MB / 1.126 GB, free: 384 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.33e-05/1.028, allocations: 306.3 kB / 1.126 GB, free: 76 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/1.03, allocations: 1.238 MB / 1.128 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/1.033, allocations: 1.709 MB / 1.129 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/1.038, allocations: 2.576 MB / 1.132 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/1.038, allocations: 6.25 kB / 1.132 GB, free: 13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006477/1.044, allocations: 3.283 MB / 1.135 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.044, allocations: 8.25 kB / 1.135 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.044, allocations: 9.312 kB / 1.135 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.033e-05/1.044, allocations: 16.69 kB / 1.135 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.046, allocations: 404 kB / 1.135 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-05/1.046, allocations: 19.66 kB / 1.135 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/1.049, allocations: 307.6 kB / 1.136 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.049, allocations: 101.1 kB / 1.136 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00359/1.053, allocations: 1.717 MB / 1.138 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002798/1.055, allocations: 1.631 MB / 1.139 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004358/1.06, allocations: 2.435 MB / 1.141 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-05/1.06, allocations: 2.469 kB / 1.141 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.00643/1.066, allocations: 3.105 MB / 1.145 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.066, allocations: 10.56 kB / 1.145 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.066, allocations: 9.438 kB / 1.145 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/1.066, allocations: 17.09 kB / 1.145 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.068, allocations: 399.5 kB / 1.145 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.77e-05/1.068, allocations: 20.25 kB / 1.145 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/1.071, allocations: 253.1 kB / 1.145 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/1.071, allocations: 89.25 kB / 1.145 GB, free: 6.172 MB / 0.8575 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 (207): * Single equations (assignments): 199 * 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.0005909/1.072, allocations: 267 kB / 1.146 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007509/1.072, allocations: 220.9 kB / 1.146 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/1.075, allocations: 0.8892 MB / 1.147 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.075, allocations: 8 kB / 1.147 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.075, allocations: 0 / 1.147 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.075, allocations: 0 / 1.147 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/1.078, allocations: 1.222 MB / 1.148 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.078, allocations: 8 kB / 1.148 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/1.079, allocations: 123.8 kB / 1.148 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/1.079, allocations: 0 / 1.148 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/1.079, allocations: 19.98 kB / 1.148 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.079, allocations: 3.938 kB / 1.148 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.079, allocations: 0 / 1.148 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/1.082, allocations: 0.9753 MB / 1.149 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000988/1.083, allocations: 389.8 kB / 1.149 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006183/1.083, allocations: 8 kB / 1.149 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.085, allocations: 95.88 kB / 1.149 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/1.085, allocations: 23.97 kB / 1.149 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/1.085, allocations: 23.98 kB / 1.149 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003663/1.088, allocations: 2.046 MB / 1.151 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.31e-07/1.088, allocations: 0 / 1.151 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.003876/1.092, allocations: 0.8943 MB / 1.152 GB, free: 14.88 MB / 0.8731 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 (37): * Single equations (assignments): 37 * 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.001154/1.093, allocations: 407.3 kB / 1.153 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006977/1.1, allocations: 3.52 MB / 1.156 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.101, allocations: 0 / 1.156 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.102, allocations: 341.3 kB / 1.156 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004833/1.106, allocations: 0.9388 MB / 1.157 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/1.124, allocations: 5.102 MB / 1.162 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/1.125, allocations: 1.626 MB / 1.164 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/1.126, allocations: 175.3 kB / 1.164 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of SimCode: time 7.32e-07/1.126, allocations: 0 / 1.164 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of Templates: time 0.05127/1.177, allocations: 34.5 MB / 1.198 GB, free: 0.4961 MB / 0.9044 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