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.0009406/0.0009408, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007293/0.007293, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.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.617/2.617, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7482, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.007171/0.7554, allocations: 4.5 MB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.7678, allocations: 5.657 MB / 1.033 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009044/0.7688, allocations: 19.94 kB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01671/0.7855, allocations: 11.15 MB / 1.044 GB, free: 10.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.7887, allocations: 1.149 MB / 1.045 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.7921, allocations: 1.403 MB / 1.046 GB, free: 7.93 MB / 0.795 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.02277/0.8149, allocations: 15.84 MB / 1.062 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.8154, allocations: 160.4 kB / 1.062 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.8169, allocations: 0.6769 MB / 1.063 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.8183, allocations: 0.8168 MB / 1.063 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.8186, allocations: 44 kB / 1.063 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.8207, allocations: 0.8696 MB / 1.064 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009862/0.8217, allocations: 0.8841 MB / 1.065 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.823, allocations: 0.9802 MB / 1.066 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.8265, allocations: 2.856 MB / 1.069 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8266, allocations: 0 / 1.069 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8266, allocations: 3.938 kB / 1.069 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.325e-05/0.8267, allocations: 0 / 1.069 GB, free: 0.7227 MB / 0.8106 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.004515/0.8312, allocations: 2.316 MB / 1.071 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8312, allocations: 16.03 kB / 1.071 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/0.8346, allocations: 0.6019 MB / 1.072 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00483/0.8394, allocations: 2.876 MB / 1.075 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.8396, allocations: 56.94 kB / 1.075 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.8397, allocations: 44 kB / 1.075 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.8414, allocations: 0.6773 MB / 1.075 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8414, allocations: 0 / 1.075 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.8415, allocations: 16 kB / 1.075 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.8415, allocations: 8 kB / 1.075 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.8436, allocations: 0.6193 MB / 1.076 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005039/0.8486, allocations: 2.628 MB / 1.079 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.851, allocations: 0.7646 MB / 1.079 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009607/0.8519, allocations: 317.9 kB / 1.08 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.852, allocations: 4.281 kB / 1.08 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.852, allocations: 30.84 kB / 1.08 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.852, allocations: 0 / 1.08 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.003552/0.8556, allocations: 1.17 MB / 1.081 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.8557, allocations: 51.41 kB / 1.081 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/0.86, allocations: 3.116 MB / 1.084 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.8602, allocations: 41.7 kB / 1.084 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007384/0.861, allocations: 0.8101 MB / 1.085 GB, free: 300 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.8611, allocations: 138.3 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.8615, allocations: 323.8 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.8616, allocations: 309.1 kB / 1.085 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.8636, allocations: 1.234 MB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.866, allocations: 1.702 MB / 1.088 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004108/0.8701, allocations: 2.6 MB / 1.091 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.8702, allocations: 4 kB / 1.091 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00685/0.877, allocations: 3.288 MB / 1.094 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004621/0.8776, allocations: 360.1 kB / 1.094 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.8776, allocations: 11.94 kB / 1.094 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.544e-05/0.8777, allocations: 27.94 kB / 1.094 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.8794, allocations: 411.5 kB / 1.095 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.071e-05/0.8795, allocations: 19.94 kB / 1.095 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.8823, allocations: 301.5 kB / 1.095 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/0.8827, allocations: 111.9 kB / 1.095 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8827, allocations: 4 kB / 1.095 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005198/0.8879, allocations: 2.878 MB / 1.098 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.888, allocations: 19.97 kB / 1.098 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.888, allocations: 20 kB / 1.098 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.8895, allocations: 399.5 kB / 1.098 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.97e-05/0.8896, allocations: 19.94 kB / 1.098 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.8915, allocations: 246.4 kB / 1.099 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.8917, allocations: 95.95 kB / 1.099 GB, free: 1.406 MB / 0.8419 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.001177/0.8929, allocations: 0.7105 MB / 1.1 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/0.8934, allocations: 216.9 kB / 1.1 GB, free: 484 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.8962, allocations: 0.9115 MB / 1.101 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.8962, allocations: 4 kB / 1.101 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8962, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.8963, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.8983, allocations: 1.217 MB / 1.102 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.8983, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007226/0.899, allocations: 131.8 kB / 1.102 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.899, allocations: 4 kB / 1.102 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.8991, allocations: 11.98 kB / 1.102 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8991, allocations: 0 / 1.102 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8991, allocations: 8 kB / 1.102 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.9015, allocations: 0.9792 MB / 1.103 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007704/0.9023, allocations: 397.8 kB / 1.103 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/0.9027, allocations: 7.938 kB / 1.103 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.9039, allocations: 103.9 kB / 1.103 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.904, allocations: 23.97 kB / 1.103 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.9041, allocations: 23.98 kB / 1.103 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003403/0.9075, allocations: 2.043 MB / 1.105 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9075, allocations: 3.938 kB / 1.105 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002914/0.9104, allocations: 0.9021 MB / 1.106 GB, free: 9.605 MB / 0.8575 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.001101/0.9115, allocations: 406.7 kB / 1.107 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006626/0.9182, allocations: 3.521 MB / 1.11 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.9182, allocations: 0 / 1.11 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.9193, allocations: 344.9 kB / 1.11 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/0.9243, allocations: 0.8331 MB / 1.111 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.9433, allocations: 5.501 MB / 1.117 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.9453, allocations: 1.638 MB / 1.118 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003224/0.9485, allocations: 0.6714 MB / 1.119 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.9493, allocations: 155.4 kB / 1.119 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of SimCode: time 3.045e-06/0.9493, allocations: 0 / 1.119 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.07157/1.021, allocations: 41.97 MB / 1.16 GB, free: 2.996 MB / 0.9044 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/jenkins/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