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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 97.33 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.012/0.012, allocations: 169.8 kB / 16.27 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005255, allocations: 13.88 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2973, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.004537/0.3019, allocations: 4.498 MB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008189/0.3101, allocations: 5.659 MB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.3107, allocations: 23.88 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01513/0.3259, allocations: 11.16 MB / 1.08 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.3285, allocations: 1.137 MB / 1.081 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.3317, allocations: 1.406 MB / 1.082 GB, free: 12.98 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.02117/0.3528, allocations: 15.83 MB / 1.098 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.3533, allocations: 164.4 kB / 1.098 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.3547, allocations: 0.6769 MB / 1.098 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.356, allocations: 0.8129 MB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.3564, allocations: 44 kB / 1.099 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.3583, allocations: 0.8696 MB / 1.1 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.3593, allocations: 0.8802 MB / 1.101 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.3611, allocations: 1.003 MB / 1.102 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00432/0.3655, allocations: 2.93 MB / 1.105 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3655, allocations: 0 / 1.105 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3655, allocations: 7.938 kB / 1.105 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.308e-05/0.3656, allocations: 0 / 1.105 GB, free: 5.703 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.005029/0.3706, allocations: 2.371 MB / 1.107 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3707, allocations: 8.031 kB / 1.107 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.3708, allocations: 66.53 kB / 1.107 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.3741, allocations: 0.6058 MB / 1.108 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009891/0.384, allocations: 5.685 MB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.3842, allocations: 41.02 kB / 1.113 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.3845, allocations: 48 kB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.3862, allocations: 0.6812 MB / 1.114 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3862, allocations: 0 / 1.114 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.3863, allocations: 12 kB / 1.114 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3863, allocations: 8 kB / 1.114 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.3884, allocations: 0.627 MB / 1.115 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.3948, allocations: 2.73 MB / 1.117 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.3971, allocations: 0.7533 MB / 1.118 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/0.3981, allocations: 313.4 kB / 1.118 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.3982, allocations: 12.28 kB / 1.118 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3982, allocations: 38.78 kB / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.3982, allocations: 0 / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003549/0.4018, allocations: 1.161 MB / 1.12 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.4018, allocations: 51.41 kB / 1.12 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005649/0.4075, allocations: 3.38 MB / 1.123 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.4076, allocations: 41.69 kB / 1.123 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009547/0.4086, allocations: 0.8221 MB / 1.124 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.4087, allocations: 134.3 kB / 1.124 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004319/0.4092, allocations: 327.8 kB / 1.124 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.4093, allocations: 301.1 kB / 1.124 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.4115, allocations: 1.234 MB / 1.126 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.4142, allocations: 1.717 MB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005266/0.4195, allocations: 2.593 MB / 1.13 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/0.4195, allocations: 4 kB / 1.13 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005867/0.4254, allocations: 3.291 MB / 1.133 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.4257, allocations: 362.4 kB / 1.133 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.4257, allocations: 8 kB / 1.133 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-05/0.4258, allocations: 19.94 kB / 1.133 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.4273, allocations: 415.4 kB / 1.134 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.602e-05/0.4274, allocations: 27.92 kB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.4296, allocations: 305.4 kB / 1.134 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.4298, allocations: 104 kB / 1.134 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4298, allocations: 4 kB / 1.134 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004989/0.4348, allocations: 2.894 MB / 1.137 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.4349, allocations: 8 kB / 1.137 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/0.4349, allocations: 16 kB / 1.137 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.4365, allocations: 411.6 kB / 1.138 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/0.4366, allocations: 19.94 kB / 1.138 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.4387, allocations: 238.5 kB / 1.138 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4389, allocations: 91.97 kB / 1.138 GB, free: 3.086 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.001277/0.4402, allocations: 0.719 MB / 1.139 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000569/0.4407, allocations: 216.9 kB / 1.139 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.4436, allocations: 0.9041 MB / 1.14 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4436, allocations: 4 kB / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4437, allocations: 0 / 1.14 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4437, allocations: 4 kB / 1.14 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.4459, allocations: 1.246 MB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.446, allocations: 4 kB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/0.4467, allocations: 135.8 kB / 1.141 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.4467, allocations: 0 / 1.141 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.4467, allocations: 11.98 kB / 1.141 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4467, allocations: 4 kB / 1.141 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4468, allocations: 0 / 1.141 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.4492, allocations: 0.9929 MB / 1.142 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009242/0.4502, allocations: 409.7 kB / 1.142 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005683/0.4508, allocations: 4 kB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.4522, allocations: 107.8 kB / 1.143 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.4523, allocations: 31.97 kB / 1.143 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.4524, allocations: 23.98 kB / 1.143 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004146/0.4565, allocations: 2.235 MB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4565, allocations: 0 / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003678/0.4602, allocations: 0.9137 MB / 1.146 GB, free: 11.02 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.003914/0.4642, allocations: 1.81 MB / 1.147 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006753/0.4709, allocations: 3.523 MB / 1.151 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.471, allocations: 1.75 kB / 1.151 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.472, allocations: 339.7 kB / 1.151 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/0.4768, allocations: 0.8418 MB / 1.152 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05864/0.5355, allocations: 24.05 MB / 1.175 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/0.5375, allocations: 1.642 MB / 1.177 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003018/0.5405, allocations: 0.6836 MB / 1.178 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.5422, allocations: 0.8624 MB / 1.179 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of SimCode: time 1.863e-06/0.5422, allocations: 4 kB / 1.179 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1442/0.6864, allocations: 60.67 MB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.6866, allocations: 240.3 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/4.134, allocations: 3.938 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > 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