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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004759/0.004759, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001094/0.001094, allocations: 189 kB / 16.68 MB, free: 6.367 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.76/2.76, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.279, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005943/0.2849, allocations: 4.9 MB / 1.225 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009697/0.2947, allocations: 5.623 MB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009874/0.2957, allocations: 23.94 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00379/0.2995, allocations: 1.288 MB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.3026, allocations: 1.308 MB / 1.233 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.306, allocations: 1.536 MB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02071/0.3267, allocations: 14.67 MB / 1.248 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.3271, allocations: 164.4 kB / 1.249 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.3286, allocations: 0.8137 MB / 1.249 GB, free: 260 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6075/0.9362, allocations: 0.781 MB / 1.25 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.9366, allocations: 92.44 kB / 1.25 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.9389, allocations: 0.8949 MB / 1.251 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.9402, allocations: 0.9224 MB / 1.252 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.9419, allocations: 1.054 MB / 1.253 GB, free: 18.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.9467, allocations: 3.109 MB / 1.256 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9467, allocations: 2.781 kB / 1.256 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9467, allocations: 0 / 1.256 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.436e-05/0.9468, allocations: 0 / 1.256 GB, free: 17.57 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.006559/0.9534, allocations: 2.822 MB / 1.259 GB, free: 16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.9534, allocations: 8.594 kB / 1.259 GB, free: 16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.495e-05/0.9536, allocations: 66.31 kB / 1.259 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003645/0.9572, allocations: 0.61 MB / 1.259 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01162/0.9689, allocations: 5.772 MB / 1.265 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.969, allocations: 36.19 kB / 1.265 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.9693, allocations: 48.66 kB / 1.265 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.9714, allocations: 0.6883 MB / 1.266 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.9714, allocations: 4.594 kB / 1.266 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.9715, allocations: 12.88 kB / 1.266 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.9715, allocations: 7.656 kB / 1.266 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.974, allocations: 0.6421 MB / 1.267 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0088/0.9828, allocations: 2.847 MB / 1.269 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.986, allocations: 0.7737 MB / 1.27 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.9874, allocations: 321.8 kB / 1.27 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.379e-05/0.9875, allocations: 10.19 kB / 1.27 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.9875, allocations: 41.89 kB / 1.27 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/0.9875, allocations: 0 / 1.27 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005283/0.9928, allocations: 1.188 MB / 1.272 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.9929, allocations: 60.47 kB / 1.272 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00845/1.001, allocations: 3.465 MB / 1.275 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000401/1.002, allocations: 40.2 kB / 1.275 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/1.003, allocations: 0.828 MB / 1.276 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/1.003, allocations: 146 kB / 1.276 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/1.005, allocations: 0.5734 MB / 1.277 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/1.005, allocations: 306.8 kB / 1.277 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002872/1.008, allocations: 1.262 MB / 1.278 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/1.012, allocations: 1.721 MB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005381/1.017, allocations: 2.619 MB / 1.282 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-05/1.017, allocations: 6.531 kB / 1.282 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008949/1.026, allocations: 3.32 MB / 1.286 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/1.026, allocations: 8.469 kB / 1.286 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.026, allocations: 13.62 kB / 1.286 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.791e-05/1.026, allocations: 16.19 kB / 1.286 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/1.029, allocations: 415.1 kB / 1.286 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.473e-05/1.029, allocations: 25.28 kB / 1.286 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/1.033, allocations: 324 kB / 1.286 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/1.033, allocations: 100.7 kB / 1.286 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004989/1.038, allocations: 1.73 MB / 1.288 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003401/1.042, allocations: 1.659 MB / 1.29 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00518/1.047, allocations: 2.468 MB / 1.292 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.675e-05/1.047, allocations: 2.375 kB / 1.292 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.007515/1.055, allocations: 3.15 MB / 1.295 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.055, allocations: 9.297 kB / 1.295 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.055, allocations: 13.28 kB / 1.295 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/1.055, allocations: 16.53 kB / 1.295 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/1.056, allocations: 403.9 kB / 1.296 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-05/1.057, allocations: 22.03 kB / 1.296 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.059, allocations: 278.2 kB / 1.296 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/1.06, allocations: 97.5 kB / 1.296 GB, free: 5.156 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.0004817/1.06, allocations: 256.5 kB / 1.296 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/1.061, allocations: 237.8 kB / 1.297 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/1.064, allocations: 0.9331 MB / 1.297 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.064, allocations: 4.312 kB / 1.297 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.064, allocations: 0 / 1.297 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/1.064, allocations: 2.938 kB / 1.297 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/1.067, allocations: 1.301 MB / 1.299 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.067, allocations: 0 / 1.299 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/1.068, allocations: 132.5 kB / 1.299 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.068, allocations: 6.438 kB / 1.299 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/1.068, allocations: 13.36 kB / 1.299 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/1.068, allocations: 1.438 kB / 1.299 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.068, allocations: 0.5156 kB / 1.299 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/1.071, allocations: 1.02 MB / 1.3 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.072, allocations: 439.4 kB / 1.3 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006383/1.073, allocations: 6.875 kB / 1.3 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.074, allocations: 109 kB / 1.3 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.074, allocations: 27.72 kB / 1.3 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/1.075, allocations: 23.7 kB / 1.3 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004302/1.079, allocations: 2.312 MB / 1.303 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.11e-07/1.079, allocations: 0 / 1.303 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003906/1.083, allocations: 0.932 MB / 1.304 GB, free: 2.156 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.003777/1.087, allocations: 1.856 MB / 1.305 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007743/1.094, allocations: 3.553 MB / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.094, allocations: 1.75 kB / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/1.096, allocations: 349 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/1.1, allocations: 0.934 MB / 1.31 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04996/1.15, allocations: 22.12 MB / 1.332 GB, free: 5.891 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.152, allocations: 1.647 MB / 1.333 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002718/1.155, allocations: 0.6769 MB / 1.334 GB, free: 3.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.156, allocations: 0.8698 MB / 1.335 GB, free: 2.695 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.156, allocations: 0 / 1.335 GB, free: 2.695 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.266, allocations: 64.1 MB / 1.397 GB, free: 3.441 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/15.01, allocations: 13.89 kB / 1.397 GB, free: 3.43 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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