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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001039/0.001039, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.517/1.517, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.174/3.174, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 9.344 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3661, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005993/0.3722, allocations: 4.483 MB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3829, allocations: 5.667 MB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.3843, allocations: 23.88 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01822/0.4026, allocations: 11.16 MB / 1.08 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.4061, allocations: 1.14 MB / 1.081 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.4102, allocations: 1.396 MB / 1.083 GB, free: 13.01 MB / 0.8419 GB [/var/lib/jenkins1/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.02397/0.4342, allocations: 15.84 MB / 1.098 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005873/0.4348, allocations: 160.4 kB / 1.098 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.4364, allocations: 0.673 MB / 1.099 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.438, allocations: 0.8168 MB / 1.1 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000424/0.4384, allocations: 44 kB / 1.1 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.4408, allocations: 0.8695 MB / 1.101 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.442, allocations: 0.8841 MB / 1.101 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.4438, allocations: 0.9801 MB / 1.102 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.4471, allocations: 2.201 MB / 1.105 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4471, allocations: 0 / 1.105 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4471, allocations: 0 / 1.105 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.194e-05/0.4472, allocations: 0 / 1.105 GB, free: 6.484 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.005122/0.4523, allocations: 2.316 MB / 1.107 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.4524, allocations: 12.03 kB / 1.107 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.456, allocations: 0.598 MB / 1.107 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006452/0.4624, allocations: 2.884 MB / 1.11 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.4626, allocations: 48.95 kB / 1.11 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.4629, allocations: 48 kB / 1.11 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.4648, allocations: 0.6734 MB / 1.111 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4648, allocations: 0 / 1.111 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.4649, allocations: 15.98 kB / 1.111 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4649, allocations: 7.938 kB / 1.111 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.4671, allocations: 0.6232 MB / 1.112 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006668/0.4738, allocations: 2.635 MB / 1.114 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.4763, allocations: 0.7572 MB / 1.115 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4773, allocations: 313.2 kB / 1.115 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.4774, allocations: 8.281 kB / 1.115 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.4774, allocations: 38.78 kB / 1.115 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.4774, allocations: 0 / 1.115 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003971/0.4814, allocations: 1.153 MB / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.4815, allocations: 59.39 kB / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/0.4877, allocations: 3.116 MB / 1.12 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.488, allocations: 41.69 kB / 1.12 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.4891, allocations: 0.8063 MB / 1.12 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.4894, allocations: 134.3 kB / 1.12 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005949/0.49, allocations: 323.8 kB / 1.121 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4902, allocations: 309.1 kB / 1.121 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.4927, allocations: 1.242 MB / 1.122 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.4956, allocations: 1.71 MB / 1.124 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.5002, allocations: 2.593 MB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.5003, allocations: 4 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006328/0.5066, allocations: 3.291 MB / 1.13 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/0.507, allocations: 351.4 kB / 1.13 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.5071, allocations: 8 kB / 1.13 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/0.5071, allocations: 19.94 kB / 1.13 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.5089, allocations: 419.4 kB / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.525e-05/0.509, allocations: 19.94 kB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.5127, allocations: 309.4 kB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.5131, allocations: 108 kB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5131, allocations: 4 kB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007835/0.5209, allocations: 2.887 MB / 1.134 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/0.521, allocations: 12.12 kB / 1.134 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/0.5211, allocations: 20 kB / 1.134 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.5234, allocations: 411.4 kB / 1.134 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.942e-05/0.5235, allocations: 19.94 kB / 1.134 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.5265, allocations: 246.5 kB / 1.134 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.5268, allocations: 87.97 kB / 1.134 GB, free: 7.172 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.001426/0.5282, allocations: 0.7112 MB / 1.135 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.5288, allocations: 216.9 kB / 1.135 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.5317, allocations: 0.9036 MB / 1.136 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5317, allocations: 8 kB / 1.136 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5317, allocations: 0 / 1.136 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5317, allocations: 3.984 kB / 1.136 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.5341, allocations: 1.214 MB / 1.137 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.5341, allocations: 0 / 1.137 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.5349, allocations: 131.8 kB / 1.138 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.5349, allocations: 4 kB / 1.138 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.5349, allocations: 8 kB / 1.138 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.535, allocations: 0 / 1.138 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.535, allocations: 0 / 1.138 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.5376, allocations: 0.9926 MB / 1.139 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.5386, allocations: 397.8 kB / 1.139 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005818/0.5392, allocations: 8 kB / 1.139 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.5406, allocations: 107.9 kB / 1.139 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.5407, allocations: 23.97 kB / 1.139 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.5408, allocations: 19.98 kB / 1.139 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00393/0.5447, allocations: 2.043 MB / 1.141 GB, free: 284 kB / 0.8887 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5448, allocations: 0 / 1.141 GB, free: 284 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003423/0.5482, allocations: 0.906 MB / 1.142 GB, free: 15.37 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.001088/0.5493, allocations: 402.8 kB / 1.142 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0066/0.5559, allocations: 3.516 MB / 1.146 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5559, allocations: 4 kB / 1.146 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.5569, allocations: 335.9 kB / 1.146 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/0.5613, allocations: 0.8386 MB / 1.147 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.5804, allocations: 5.607 MB / 1.152 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00195/0.5824, allocations: 1.63 MB / 1.154 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/0.5834, allocations: 167.4 kB / 1.154 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of SimCode: time 3.347e-06/0.5834, allocations: 0 / 1.154 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.05783/0.6412, allocations: 34.17 MB / 1.188 GB, free: 0.9141 MB / 0.9356 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