Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.HydraulicEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods",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.007519/0.007519, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002017/0.002017, allocations: 196 kB / 16.68 MB, free: 5.934 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 64.56 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2885, allocations: 162.2 MB / 1.241 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods): time 0.006897/0.2955, allocations: 4.902 MB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.3055, allocations: 5.658 MB / 1.252 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009853/0.3066, allocations: 27.88 kB / 1.252 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003587/0.3102, allocations: 1.287 MB / 1.253 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.3132, allocations: 1.346 MB / 1.254 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.3166, allocations: 1.517 MB / 1.256 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0199/0.3366, allocations: 13.13 MB / 1.269 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.3371, allocations: 164.4 kB / 1.269 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.3387, allocations: 0.8371 MB / 1.27 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.3401, allocations: 0.8091 MB / 1.27 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.3405, allocations: 96 kB / 1.271 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.3425, allocations: 0.9126 MB / 1.271 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.3436, allocations: 0.9505 MB / 1.272 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.3451, allocations: 1.088 MB / 1.273 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.3495, allocations: 3.249 MB / 1.277 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3495, allocations: 0 / 1.277 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3495, allocations: 0 / 1.277 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.014e-05/0.3496, allocations: 0 / 1.277 GB, free: 5.152 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.005757/0.3553, allocations: 2.851 MB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3554, allocations: 15.97 kB / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.814e-05/0.3555, allocations: 66.53 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00434/0.3598, allocations: 0.7516 MB / 1.28 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007358/0.3672, allocations: 4.655 MB / 1.285 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.3673, allocations: 36.66 kB / 1.285 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.3674, allocations: 44 kB / 1.285 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.3696, allocations: 0.8296 MB / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3696, allocations: 0 / 1.286 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.3697, allocations: 16 kB / 1.286 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3697, allocations: 8 kB / 1.286 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.3727, allocations: 0.8495 MB / 1.286 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007075/0.3798, allocations: 3.35 MB / 1.29 GB, free: 7.465 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.3828, allocations: 1.002 MB / 1.291 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3842, allocations: 416.6 kB / 1.291 GB, free: 6.043 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.3843, allocations: 15.92 kB / 1.291 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3843, allocations: 34.56 kB / 1.291 GB, free: 5.984 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 2.033e-06/0.3843, allocations: 3.938 kB / 1.291 GB, free: 5.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.005056/0.3894, allocations: 1.483 MB / 1.293 GB, free: 4.492 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3894, allocations: 55.41 kB / 1.293 GB, free: 4.426 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006018/0.3955, allocations: 3.726 MB / 1.296 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.3956, allocations: 37.7 kB / 1.296 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009159/0.3966, allocations: 0.8346 MB / 1.297 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3968, allocations: 154.8 kB / 1.297 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008949/0.3977, allocations: 0.5717 MB / 1.298 GB, free: 15.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3978, allocations: 309 kB / 1.298 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/0.4006, allocations: 1.467 MB / 1.3 GB, free: 13.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/0.4039, allocations: 1.927 MB / 1.301 GB, free: 11.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005415/0.4093, allocations: 3.032 MB / 1.304 GB, free: 8.082 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.4093, allocations: 4 kB / 1.304 GB, free: 8.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007216/0.4165, allocations: 3.737 MB / 1.308 GB, free: 4.332 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.4166, allocations: 13.88 kB / 1.308 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.4166, allocations: 8 kB / 1.308 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/0.4167, allocations: 16 kB / 1.308 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.4185, allocations: 431.4 kB / 1.309 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.695e-05/0.4186, allocations: 23.94 kB / 1.309 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.421, allocations: 330.3 kB / 1.309 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.4212, allocations: 95.95 kB / 1.309 GB, free: 3.434 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00358/0.4248, allocations: 1.879 MB / 1.311 GB, free: 1.551 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003077/0.4279, allocations: 1.782 MB / 1.313 GB, free: 15.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004991/0.4329, allocations: 2.74 MB / 1.315 GB, free: 12.76 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.285e-06/0.4329, allocations: 4 kB / 1.315 GB, free: 12.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006721/0.4397, allocations: 3.436 MB / 1.319 GB, free: 9.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4397, allocations: 8 kB / 1.319 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.4397, allocations: 8 kB / 1.319 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4398, allocations: 16 kB / 1.319 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.4415, allocations: 427.6 kB / 1.319 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.189e-05/0.4416, allocations: 23.92 kB / 1.319 GB, free: 8.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.444, allocations: 278.9 kB / 1.319 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.4442, allocations: 95.95 kB / 1.319 GB, free: 8.477 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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.0004043/0.4446, allocations: 255.8 kB / 1.32 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/0.4452, allocations: 246.1 kB / 1.32 GB, free: 7.977 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.4488, allocations: 1.105 MB / 1.321 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4489, allocations: 4 kB / 1.321 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.4489, allocations: 8 kB / 1.321 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4489, allocations: 7.938 kB / 1.321 GB, free: 6.844 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.4512, allocations: 1.395 MB / 1.322 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4512, allocations: 0 / 1.322 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009609/0.4521, allocations: 155.8 kB / 1.322 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4522, allocations: 4 kB / 1.322 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.4522, allocations: 11.98 kB / 1.322 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.4522, allocations: 4 kB / 1.322 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4522, allocations: 0 / 1.322 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.4556, allocations: 1.195 MB / 1.324 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4566, allocations: 487.1 kB / 1.324 GB, free: 3.508 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/0.4571, allocations: 12 kB / 1.324 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.4587, allocations: 111.9 kB / 1.324 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.4588, allocations: 27.97 kB / 1.324 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/0.4588, allocations: 19.98 kB / 1.324 GB, free: 3.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004254/0.4631, allocations: 2.521 MB / 1.327 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4631, allocations: 0 / 1.327 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002762/0.4659, allocations: 0.9525 MB / 1.328 GB, free: 15.86 MB / 1.061 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.004503/0.4704, allocations: 2.057 MB / 1.33 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00799/0.4784, allocations: 4.028 MB / 1.334 GB, free: 9.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4784, allocations: 4 kB / 1.334 GB, free: 9.754 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.4799, allocations: 460.2 kB / 1.334 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/0.4839, allocations: 0.9399 MB / 1.335 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04697/0.5309, allocations: 23.41 MB / 1.358 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.5327, allocations: 1.658 MB / 1.359 GB, free: 14.88 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002746/0.5355, allocations: 0.75 MB / 1.36 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/0.5371, allocations: 0.9053 MB / 1.361 GB, free: 13.22 MB / 1.092 GB Notification: Performance of SimCode: time 7.91e-07/0.5372, allocations: 0 / 1.361 GB, free: 13.22 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/0.6589, allocations: 66.88 MB / 1.426 GB, free: 11.12 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.93, allocations: 7.609 kB / 1.426 GB, free: 11.11 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches