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.00528/0.005279, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001182/0.001182, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.377/2.377, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 67.83 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7877, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005789/0.7936, allocations: 4.895 MB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009101/0.8027, allocations: 5.613 MB / 1.176 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008359/0.8036, allocations: 23.94 kB / 1.176 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.8069, allocations: 1.272 MB / 1.178 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.8096, allocations: 1.313 MB / 1.179 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.8126, allocations: 1.547 MB / 1.18 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02046/0.833, allocations: 14.66 MB / 1.195 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.8335, allocations: 164.4 kB / 1.195 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.8349, allocations: 0.8292 MB / 1.196 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009709/0.8359, allocations: 0.7818 MB / 1.197 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.8361, allocations: 91.98 kB / 1.197 GB, free: 4.492 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.8378, allocations: 0.8931 MB / 1.197 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.8386, allocations: 0.9115 MB / 1.198 GB, free: 2.684 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.8396, allocations: 1.06 MB / 1.199 GB, free: 1.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.8431, allocations: 3.105 MB / 1.202 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8432, allocations: 0 / 1.202 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8432, allocations: 3.938 kB / 1.202 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.106e-05/0.8432, allocations: 7.938 kB / 1.202 GB, free: 14.48 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.005273/0.8485, allocations: 2.816 MB / 1.205 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.8486, allocations: 12.92 kB / 1.205 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.745e-05/0.8486, allocations: 70.53 kB / 1.205 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003193/0.8518, allocations: 0.6111 MB / 1.206 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009498/0.8614, allocations: 5.78 MB / 1.212 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.8615, allocations: 32.66 kB / 1.212 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.8616, allocations: 48 kB / 1.212 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.8633, allocations: 0.689 MB / 1.212 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.8633, allocations: 0 / 1.212 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.8634, allocations: 12 kB / 1.212 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.8634, allocations: 8 kB / 1.212 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.8655, allocations: 0.6427 MB / 1.213 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005603/0.8712, allocations: 2.858 MB / 1.216 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.8734, allocations: 0.7646 MB / 1.216 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009686/0.8744, allocations: 320.5 kB / 1.217 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.8745, allocations: 11.89 kB / 1.217 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.8745, allocations: 39.03 kB / 1.217 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.534e-06/0.8745, allocations: 0 / 1.217 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.003795/0.8783, allocations: 1.189 MB / 1.218 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.8784, allocations: 59.27 kB / 1.218 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006031/0.8844, allocations: 3.467 MB / 1.221 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002484/0.8847, allocations: 37.7 kB / 1.221 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009972/0.8857, allocations: 0.8306 MB / 1.222 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.886, allocations: 146.9 kB / 1.222 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.8871, allocations: 0.5717 MB / 1.223 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.8872, allocations: 305.1 kB / 1.223 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.8894, allocations: 1.264 MB / 1.224 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.8921, allocations: 1.715 MB / 1.226 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/0.8963, allocations: 2.623 MB / 1.229 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.8963, allocations: 0 / 1.229 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.00593/0.9023, allocations: 3.337 MB / 1.232 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.9023, allocations: 8 kB / 1.232 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.9024, allocations: 8 kB / 1.232 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.9024, allocations: 16.19 kB / 1.232 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.904, allocations: 423.4 kB / 1.232 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/0.904, allocations: 19.94 kB / 1.232 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.9063, allocations: 326.6 kB / 1.233 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/0.9066, allocations: 99.97 kB / 1.233 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003051/0.9096, allocations: 1.73 MB / 1.235 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002489/0.9121, allocations: 1.648 MB / 1.236 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004131/0.9163, allocations: 2.472 MB / 1.239 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.036e-05/0.9163, allocations: 0 / 1.239 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006231/0.9225, allocations: 3.151 MB / 1.242 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.9226, allocations: 8 kB / 1.242 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.9226, allocations: 12 kB / 1.242 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.9226, allocations: 16.19 kB / 1.242 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.9241, allocations: 399.5 kB / 1.242 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/0.9242, allocations: 23.92 kB / 1.242 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.9264, allocations: 274.9 kB / 1.242 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.9266, allocations: 91.97 kB / 1.242 GB, free: 4.695 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.0003761/0.9269, allocations: 263.7 kB / 1.243 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/0.9274, allocations: 230.3 kB / 1.243 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.9301, allocations: 0.9243 MB / 1.244 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.9301, allocations: 4 kB / 1.244 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9302, allocations: 3.938 kB / 1.244 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9302, allocations: 3.984 kB / 1.244 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.932, allocations: 1.308 MB / 1.245 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.932, allocations: 0 / 1.245 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007383/0.9327, allocations: 131.8 kB / 1.245 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.9327, allocations: 4 kB / 1.245 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.9328, allocations: 11.98 kB / 1.245 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.9328, allocations: 4 kB / 1.245 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9328, allocations: 0 / 1.245 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.9352, allocations: 1.023 MB / 1.246 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008523/0.9361, allocations: 435.1 kB / 1.247 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.9364, allocations: 12 kB / 1.247 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.9376, allocations: 107.9 kB / 1.247 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.9377, allocations: 35.89 kB / 1.247 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.9378, allocations: 20 kB / 1.247 GB, free: 92 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003212/0.941, allocations: 2.313 MB / 1.249 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.285e-06/0.941, allocations: 0 / 1.249 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002342/0.9433, allocations: 0.9368 MB / 1.25 GB, free: 12.84 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.003423/0.9468, allocations: 1.852 MB / 1.252 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006164/0.9529, allocations: 3.548 MB / 1.255 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.953, allocations: 0 / 1.255 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.954, allocations: 354.7 kB / 1.256 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/0.9576, allocations: 0.9346 MB / 1.257 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04172/0.9994, allocations: 22.12 MB / 1.278 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.001, allocations: 1.638 MB / 1.28 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002479/1.003, allocations: 0.6836 MB / 1.28 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.005, allocations: 0.8585 MB / 1.281 GB, free: 12.41 MB / 1.014 GB Notification: Performance of SimCode: time 1.383e-06/1.005, allocations: 0 / 1.281 GB, free: 12.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.112, allocations: 64.12 MB / 1.344 GB, free: 12.93 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.1, allocations: 7.922 kB / 1.344 GB, free: 12.92 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