Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_11_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.001937/0.001937, allocations: 112.5 kB / 15.74 MB, free: 68 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.002285/0.002285, allocations: 195.2 kB / 16.67 MB, free: 6.582 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002992/0.002992, allocations: 63.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3141, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006298/0.3204, allocations: 4.9 MB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009632/0.3301, allocations: 5.615 MB / 1.23 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008022/0.331, allocations: 27.88 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.3343, allocations: 1.285 MB / 1.232 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.3369, allocations: 1.292 MB / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.3399, allocations: 1.537 MB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02183/0.3617, allocations: 14.67 MB / 1.249 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.3622, allocations: 168.4 kB / 1.249 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.585/0.9472, allocations: 0.8094 MB / 1.25 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.9488, allocations: 0.788 MB / 1.251 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.9491, allocations: 92.06 kB / 1.251 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.9511, allocations: 0.8943 MB / 1.251 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.9521, allocations: 0.9169 MB / 1.252 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.9533, allocations: 1.057 MB / 1.253 GB, free: 17.56 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.9578, allocations: 3.109 MB / 1.256 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9578, allocations: 7.844 kB / 1.256 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9578, allocations: 0 / 1.256 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.082e-05/0.9579, allocations: 0 / 1.256 GB, free: 17.04 MB / 0.9981 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.004936/0.9628, allocations: 2.82 MB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.9629, allocations: 12.95 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/0.9629, allocations: 68.59 kB / 1.259 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.966, allocations: 0.6093 MB / 1.26 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009184/0.9752, allocations: 5.77 MB / 1.266 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.9753, allocations: 36.38 kB / 1.266 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.9754, allocations: 47.22 kB / 1.266 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.9772, allocations: 0.6864 MB / 1.266 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.9773, allocations: 1.375 kB / 1.266 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.9773, allocations: 11.91 kB / 1.266 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.9773, allocations: 6.781 kB / 1.266 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.9795, allocations: 0.6421 MB / 1.267 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.9855, allocations: 2.854 MB / 1.27 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.9882, allocations: 0.7674 MB / 1.27 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.9892, allocations: 322.8 kB / 1.271 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.9893, allocations: 11.2 kB / 1.271 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.9893, allocations: 36.92 kB / 1.271 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.415e-06/0.9893, allocations: 1.594 kB / 1.271 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.004026/0.9933, allocations: 1.195 MB / 1.272 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.9934, allocations: 54.75 kB / 1.272 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/0.9991, allocations: 3.466 MB / 1.275 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.9994, allocations: 39.77 kB / 1.275 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/1, allocations: 0.8291 MB / 1.276 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/1, allocations: 151.4 kB / 1.276 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008948/1.001, allocations: 0.5731 MB / 1.277 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/1.001, allocations: 307 kB / 1.277 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/1.004, allocations: 1.254 MB / 1.278 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/1.006, allocations: 1.725 MB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/1.01, allocations: 2.623 MB / 1.283 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.01, allocations: 2.062 kB / 1.283 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006103/1.016, allocations: 3.32 MB / 1.286 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.017, allocations: 8.656 kB / 1.286 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.017, allocations: 13.03 kB / 1.286 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.975e-05/1.017, allocations: 16.16 kB / 1.286 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.018, allocations: 417.8 kB / 1.286 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/1.018, allocations: 25.12 kB / 1.286 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.021, allocations: 323.9 kB / 1.287 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/1.021, allocations: 107.5 kB / 1.287 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003606/1.025, allocations: 1.726 MB / 1.289 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002456/1.027, allocations: 1.656 MB / 1.29 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004389/1.031, allocations: 2.46 MB / 1.293 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-05/1.032, allocations: 3.25 kB / 1.293 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.00595/1.037, allocations: 3.157 MB / 1.296 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.038, allocations: 8.969 kB / 1.296 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/1.038, allocations: 12.72 kB / 1.296 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/1.038, allocations: 16.91 kB / 1.296 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.039, allocations: 404 kB / 1.296 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.434e-05/1.039, allocations: 23.98 kB / 1.296 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/1.042, allocations: 282.7 kB / 1.296 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/1.042, allocations: 96.8 kB / 1.296 GB, free: 4.445 MB / 0.9981 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.000493/1.043, allocations: 253.4 kB / 1.297 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006058/1.043, allocations: 238.2 kB / 1.297 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/1.046, allocations: 0.9262 MB / 1.298 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.046, allocations: 3.875 kB / 1.298 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.046, allocations: 0.6562 kB / 1.298 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.046, allocations: 6.688 kB / 1.298 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/1.048, allocations: 1.306 MB / 1.299 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.048, allocations: 1.188 kB / 1.299 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/1.049, allocations: 136.2 kB / 1.299 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.049, allocations: 1.188 kB / 1.299 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/1.049, allocations: 17.2 kB / 1.299 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/1.049, allocations: 6.344 kB / 1.299 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.049, allocations: 0.7969 kB / 1.299 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/1.052, allocations: 1.013 MB / 1.3 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/1.053, allocations: 438.7 kB / 1.301 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/1.053, allocations: 7.422 kB / 1.301 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.054, allocations: 112.6 kB / 1.301 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/1.054, allocations: 25.83 kB / 1.301 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/1.054, allocations: 24.27 kB / 1.301 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003615/1.058, allocations: 2.308 MB / 1.303 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.262e-06/1.058, allocations: 0 / 1.303 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003007/1.061, allocations: 0.9328 MB / 1.304 GB, free: 1.445 MB / 0.9981 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.003557/1.064, allocations: 1.859 MB / 1.306 GB, free: 424 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007409/1.072, allocations: 3.59 MB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.072, allocations: 0 / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.073, allocations: 355.1 kB / 1.31 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/1.077, allocations: 0.9286 MB / 1.311 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0435/1.12, allocations: 22.13 MB / 1.332 GB, free: 5.004 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.122, allocations: 1.642 MB / 1.334 GB, free: 3.332 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002608/1.125, allocations: 0.681 MB / 1.334 GB, free: 2.668 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.126, allocations: 0.8546 MB / 1.335 GB, free: 1.812 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.126, allocations: 0 / 1.335 GB, free: 1.812 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.244, allocations: 64.12 MB / 1.398 GB, free: 2.57 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.61, allocations: 11.5 kB / 1.398 GB, free: 2.559 MB / 1.076 GB (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches