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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007807/0.0007807, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008536/0.0008537, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004093, allocations: 12 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7169, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005624/0.7226, allocations: 4.5 MB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.7329, allocations: 5.653 MB / 1.034 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.7343, allocations: 19.94 kB / 1.034 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01818/0.7525, allocations: 11.15 MB / 1.045 GB, free: 10.46 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.756, allocations: 1.152 MB / 1.046 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.7595, allocations: 1.389 MB / 1.047 GB, free: 7.914 MB / 0.795 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.02324/0.7828, allocations: 15.84 MB / 1.062 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/0.7834, allocations: 164.4 kB / 1.063 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.785, allocations: 0.6769 MB / 1.063 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.7868, allocations: 0.8168 MB / 1.064 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004723/0.7873, allocations: 44 kB / 1.064 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.7895, allocations: 0.8696 MB / 1.065 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.7908, allocations: 0.8841 MB / 1.066 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.7926, allocations: 0.9841 MB / 1.067 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.7955, allocations: 2.201 MB / 1.069 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7955, allocations: 0 / 1.069 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7955, allocations: 0 / 1.069 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-05/0.7956, allocations: 0 / 1.069 GB, free: 1.363 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.004416/0.8, allocations: 2.32 MB / 1.071 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.8001, allocations: 8.031 kB / 1.071 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/0.8033, allocations: 0.598 MB / 1.072 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005107/0.8084, allocations: 2.876 MB / 1.075 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.8086, allocations: 52.95 kB / 1.075 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.8087, allocations: 48 kB / 1.075 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.8105, allocations: 0.6734 MB / 1.075 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.8105, allocations: 3.938 kB / 1.075 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.8105, allocations: 8 kB / 1.075 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.8106, allocations: 8 kB / 1.075 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.8125, allocations: 0.631 MB / 1.076 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004921/0.8175, allocations: 2.628 MB / 1.079 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.8198, allocations: 0.7663 MB / 1.079 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009486/0.8208, allocations: 313.2 kB / 1.08 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.8208, allocations: 8.266 kB / 1.08 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.8208, allocations: 38.84 kB / 1.08 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.8209, allocations: 0 / 1.08 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.00348/0.8243, allocations: 1.159 MB / 1.081 GB, free: 5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.8244, allocations: 55.41 kB / 1.081 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004331/0.8287, allocations: 3.116 MB / 1.084 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.8289, allocations: 41.69 kB / 1.084 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008076/0.8297, allocations: 0.8023 MB / 1.085 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.8299, allocations: 142.3 kB / 1.085 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.8302, allocations: 319.8 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8304, allocations: 317 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.8325, allocations: 1.235 MB / 1.087 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.8351, allocations: 1.71 MB / 1.088 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/0.8394, allocations: 2.593 MB / 1.091 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.8394, allocations: 0 / 1.091 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005728/0.8452, allocations: 3.292 MB / 1.094 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.8455, allocations: 358.1 kB / 1.094 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.8455, allocations: 8 kB / 1.094 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.8455, allocations: 23.94 kB / 1.094 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.8471, allocations: 407.5 kB / 1.095 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.8471, allocations: 23.92 kB / 1.095 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.8491, allocations: 309.5 kB / 1.095 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.8493, allocations: 95.97 kB / 1.095 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.8493, allocations: 4 kB / 1.095 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005043/0.8544, allocations: 2.89 MB / 1.098 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.8544, allocations: 15.97 kB / 1.098 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.8545, allocations: 19.98 kB / 1.098 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.8559, allocations: 403.4 kB / 1.098 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.856, allocations: 27.94 kB / 1.099 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.8578, allocations: 250.4 kB / 1.099 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.858, allocations: 91.95 kB / 1.099 GB, free: 2.047 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.001168/0.8592, allocations: 0.7073 MB / 1.1 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.8596, allocations: 216.9 kB / 1.1 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.8622, allocations: 0.9074 MB / 1.101 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.8622, allocations: 4 kB / 1.101 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.8622, allocations: 4 kB / 1.101 GB, free: 192 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.8622, allocations: 3.984 kB / 1.101 GB, free: 188 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.864, allocations: 1.21 MB / 1.102 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.864, allocations: 0 / 1.102 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/0.8647, allocations: 127.8 kB / 1.102 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.8647, allocations: 0 / 1.102 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.8648, allocations: 15.98 kB / 1.102 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8648, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8648, allocations: 4 kB / 1.102 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.8671, allocations: 0.9909 MB / 1.103 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/0.8677, allocations: 389.8 kB / 1.103 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.868, allocations: 12 kB / 1.103 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.869, allocations: 103.9 kB / 1.103 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.8691, allocations: 23.97 kB / 1.103 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.8692, allocations: 19.98 kB / 1.103 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002987/0.8722, allocations: 2.043 MB / 1.105 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8722, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002619/0.8748, allocations: 0.9021 MB / 1.106 GB, free: 10.26 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.0009645/0.8758, allocations: 409.3 kB / 1.107 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006761/0.8825, allocations: 3.521 MB / 1.11 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8826, allocations: 4 kB / 1.11 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.8836, allocations: 341 kB / 1.11 GB, free: 6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.8872, allocations: 0.836 MB / 1.111 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.9038, allocations: 5.604 MB / 1.117 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.9052, allocations: 1.626 MB / 1.118 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007876/0.906, allocations: 171.4 kB / 1.119 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.906, allocations: 0 / 1.119 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.05334/0.9593, allocations: 34.17 MB / 1.152 GB, free: 11.81 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/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