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.001173/0.001173, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01006/0.01006, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 11.28 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3422, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005028/0.3472, allocations: 4.491 MB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.009565/0.3568, allocations: 5.668 MB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000716/0.3576, allocations: 19.94 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01738/0.375, allocations: 11.16 MB / 1.08 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.3781, allocations: 1.145 MB / 1.081 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.3809, allocations: 1.411 MB / 1.082 GB, free: 13.53 MB / 0.8419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0218/0.4027, allocations: 15.82 MB / 1.097 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.4032, allocations: 168.4 kB / 1.098 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.4046, allocations: 0.6692 MB / 1.098 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.4058, allocations: 0.8207 MB / 1.099 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.4059, allocations: 44 kB / 1.099 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.4076, allocations: 0.8695 MB / 1.1 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007917/0.4084, allocations: 0.8802 MB / 1.101 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008326/0.4092, allocations: 0.984 MB / 1.102 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.4121, allocations: 2.856 MB / 1.105 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4122, allocations: 0 / 1.105 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4122, allocations: 0 / 1.105 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.4122, allocations: 0 / 1.105 GB, free: 6.355 MB / 0.8575 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.003859/0.4161, allocations: 2.32 MB / 1.107 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4161, allocations: 8.031 kB / 1.107 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.4194, allocations: 0.6057 MB / 1.107 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005089/0.4246, allocations: 2.872 MB / 1.11 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.4247, allocations: 48.95 kB / 1.11 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.4249, allocations: 47.98 kB / 1.11 GB, free: 328 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.4265, allocations: 0.6773 MB / 1.111 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4265, allocations: 3.984 kB / 1.111 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/0.4266, allocations: 16 kB / 1.111 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4266, allocations: 8 kB / 1.111 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.4288, allocations: 0.6231 MB / 1.112 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005596/0.4344, allocations: 2.624 MB / 1.114 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.4368, allocations: 0.7608 MB / 1.115 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009438/0.4377, allocations: 313.9 kB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.4378, allocations: 8.266 kB / 1.115 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.318e-05/0.4379, allocations: 34.84 kB / 1.115 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.336e-06/0.4379, allocations: 7.938 kB / 1.115 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003632/0.4415, allocations: 1.156 MB / 1.116 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4416, allocations: 63.34 kB / 1.116 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/0.4461, allocations: 3.116 MB / 1.12 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.4462, allocations: 41.7 kB / 1.12 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/0.447, allocations: 0.8063 MB / 1.12 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.4472, allocations: 138.3 kB / 1.12 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.4475, allocations: 323.8 kB / 1.121 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.4476, allocations: 305.1 kB / 1.121 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.4498, allocations: 1.234 MB / 1.122 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.4524, allocations: 1.71 MB / 1.124 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.4567, allocations: 2.597 MB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.4568, allocations: 4 kB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005786/0.4626, allocations: 3.294 MB / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003379/0.463, allocations: 354 kB / 1.13 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.463, allocations: 12 kB / 1.13 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.463, allocations: 19.94 kB / 1.13 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.4646, allocations: 411.5 kB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/0.4647, allocations: 19.94 kB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.467, allocations: 305.4 kB / 1.131 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.4672, allocations: 108 kB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4672, allocations: 4 kB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004993/0.4722, allocations: 2.892 MB / 1.134 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.4723, allocations: 12 kB / 1.134 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.4723, allocations: 16 kB / 1.134 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.4739, allocations: 403.6 kB / 1.134 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.4739, allocations: 19.94 kB / 1.134 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.4758, allocations: 242.5 kB / 1.134 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.476, allocations: 91.97 kB / 1.134 GB, free: 7.047 MB / 0.8887 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.001286/0.4773, allocations: 0.7163 MB / 1.135 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004042/0.4777, allocations: 220.9 kB / 1.135 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.4803, allocations: 0.8975 MB / 1.136 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4803, allocations: 7.938 kB / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4804, allocations: 3.984 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4804, allocations: 0 / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.4822, allocations: 1.221 MB / 1.137 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4822, allocations: 0 / 1.137 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007445/0.483, allocations: 135.9 kB / 1.138 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.483, allocations: 4 kB / 1.138 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.4831, allocations: 11.94 kB / 1.138 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4831, allocations: 4 kB / 1.138 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4831, allocations: 3.984 kB / 1.138 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.4855, allocations: 0.9792 MB / 1.139 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007397/0.4862, allocations: 409.7 kB / 1.139 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.4865, allocations: 4 kB / 1.139 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.4875, allocations: 99.88 kB / 1.139 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.4876, allocations: 23.97 kB / 1.139 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.4877, allocations: 23.98 kB / 1.139 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003305/0.491, allocations: 2.046 MB / 1.141 GB, free: 136 kB / 0.8887 GB Notification: Performance of sort global known variables: time 2.31e-07/0.491, allocations: 7.938 kB / 1.141 GB, free: 128 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002514/0.4935, allocations: 0.8982 MB / 1.142 GB, free: 15.23 MB / 0.9044 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.0009492/0.4945, allocations: 398.8 kB / 1.142 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006426/0.5009, allocations: 3.518 MB / 1.146 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.501, allocations: 0 / 1.146 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009706/0.5019, allocations: 341.4 kB / 1.146 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/0.5059, allocations: 0.8378 MB / 1.147 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.5225, allocations: 5.5 MB / 1.152 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.524, allocations: 1.638 MB / 1.154 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002885/0.5269, allocations: 0.6831 MB / 1.155 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.5275, allocations: 151.4 kB / 1.155 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of SimCode: time 1.032e-06/0.5275, allocations: 0 / 1.155 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of Templates: time 0.07119/0.5987, allocations: 41.96 MB / 1.196 GB, free: 8.625 MB / 0.9512 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