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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_10_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.007517/0.007517, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001768/0.001768, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.449/2.449, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.002101, allocations: 56.12 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7911/0.7932, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.00623/0.7995, allocations: 4.874 MB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.8105, allocations: 5.63 MB / 1.176 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.8116, allocations: 31.81 kB / 1.176 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/0.8154, allocations: 1.277 MB / 1.178 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.8186, allocations: 1.284 MB / 1.179 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.822, allocations: 1.543 MB / 1.18 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0233/0.8453, allocations: 14.66 MB / 1.195 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.8459, allocations: 172.4 kB / 1.195 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.8474, allocations: 0.8137 MB / 1.196 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.8487, allocations: 0.7857 MB / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003653/0.8491, allocations: 92 kB / 1.197 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.8509, allocations: 0.9048 MB / 1.197 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000997/0.8519, allocations: 0.9153 MB / 1.198 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.8535, allocations: 1.056 MB / 1.199 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0043/0.8578, allocations: 3.095 MB / 1.202 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8578, allocations: 4 kB / 1.202 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.147e-06/0.8578, allocations: 3.984 kB / 1.202 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.809e-05/0.8579, allocations: 0 / 1.202 GB, free: 14.54 MB / 0.9356 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.006494/0.8644, allocations: 2.731 MB / 1.205 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.8645, allocations: 12.92 kB / 1.205 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.8646, allocations: 62.53 kB / 1.205 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/0.8681, allocations: 0.598 MB / 1.206 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.8784, allocations: 5.747 MB / 1.211 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.8785, allocations: 36.66 kB / 1.211 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.8787, allocations: 51.92 kB / 1.211 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.8807, allocations: 0.6812 MB / 1.212 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.8807, allocations: 4 kB / 1.212 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.8808, allocations: 19.94 kB / 1.212 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.8808, allocations: 8 kB / 1.212 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.8831, allocations: 0.6349 MB / 1.213 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007199/0.8903, allocations: 2.846 MB / 1.216 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.893, allocations: 0.7724 MB / 1.216 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.8942, allocations: 320.5 kB / 1.217 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.8942, allocations: 4 kB / 1.217 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.8943, allocations: 42.5 kB / 1.217 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.444e-06/0.8943, allocations: 0 / 1.217 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.004408/0.8987, allocations: 1.177 MB / 1.218 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.8988, allocations: 59.27 kB / 1.218 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006917/0.9057, allocations: 3.462 MB / 1.221 GB, free: 11 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/0.9061, allocations: 41.7 kB / 1.221 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.9073, allocations: 0.8221 MB / 1.222 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.9076, allocations: 142.3 kB / 1.222 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.9091, allocations: 0.5754 MB / 1.223 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9093, allocations: 305.1 kB / 1.223 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/0.9122, allocations: 1.256 MB / 1.224 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.9154, allocations: 1.723 MB / 1.226 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/0.9202, allocations: 2.619 MB / 1.229 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.9203, allocations: 0 / 1.229 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.00666/0.927, allocations: 3.324 MB / 1.232 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.927, allocations: 8 kB / 1.232 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.927, allocations: 8 kB / 1.232 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.9271, allocations: 16 kB / 1.232 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.9288, allocations: 411.6 kB / 1.232 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.87e-05/0.9289, allocations: 23.94 kB / 1.232 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/0.9312, allocations: 325.9 kB / 1.233 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.9315, allocations: 99.97 kB / 1.233 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003427/0.935, allocations: 1.734 MB / 1.234 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002893/0.9379, allocations: 1.644 MB / 1.236 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00423/0.9422, allocations: 2.46 MB / 1.238 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.107e-06/0.9422, allocations: 3.938 kB / 1.238 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.00593/0.9481, allocations: 3.142 MB / 1.241 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.9482, allocations: 8 kB / 1.241 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.9482, allocations: 12 kB / 1.241 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.9482, allocations: 19.94 kB / 1.241 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.9499, allocations: 403.6 kB / 1.242 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.175e-05/0.95, allocations: 19.94 kB / 1.242 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.9525, allocations: 270.5 kB / 1.242 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.9528, allocations: 91.97 kB / 1.242 GB, free: 4.941 MB / 0.9669 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 (209): * Single equations (assignments): 201 * 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.0004988/0.9533, allocations: 259.8 kB / 1.242 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.9539, allocations: 224.9 kB / 1.243 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/0.9569, allocations: 0.9243 MB / 1.244 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.9569, allocations: 4 kB / 1.244 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.9569, allocations: 0 / 1.244 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.957, allocations: 4 kB / 1.244 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.9593, allocations: 1.316 MB / 1.245 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.9593, allocations: 4 kB / 1.245 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008119/0.9601, allocations: 131.8 kB / 1.245 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.9601, allocations: 0 / 1.245 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.9602, allocations: 15.98 kB / 1.245 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.9602, allocations: 0 / 1.245 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9602, allocations: 0 / 1.245 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.9631, allocations: 1.006 MB / 1.246 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.9642, allocations: 421.8 kB / 1.246 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005924/0.9648, allocations: 4 kB / 1.246 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.9663, allocations: 115.8 kB / 1.246 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.9664, allocations: 31.84 kB / 1.247 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.139e-05/0.9665, allocations: 27.98 kB / 1.247 GB, free: 372 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004273/0.9707, allocations: 2.313 MB / 1.249 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9708, allocations: 0 / 1.249 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003592/0.9744, allocations: 0.9294 MB / 1.25 GB, free: 13.12 MB / 0.9825 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 (39): * Single equations (assignments): 39 * 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.004246/0.9786, allocations: 1.835 MB / 1.252 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007214/0.9859, allocations: 3.545 MB / 1.255 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9859, allocations: 8 kB / 1.255 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.987, allocations: 349.3 kB / 1.255 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/0.9913, allocations: 0.9427 MB / 1.256 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04675/1.038, allocations: 22.04 MB / 1.278 GB, free: 4 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/1.04, allocations: 1.646 MB / 1.279 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002511/1.042, allocations: 0.6797 MB / 1.28 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/1.044, allocations: 0.8546 MB / 1.281 GB, free: 12.79 MB / 1.014 GB Notification: Performance of SimCode: time 2.064e-06/1.044, allocations: 4 kB / 1.281 GB, free: 12.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/1.156, allocations: 64.11 MB / 1.343 GB, free: 13.31 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.95, allocations: 10.66 kB / 1.343 GB, free: 13.3 MB / 1.076 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.csv","/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