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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006923/0.006923, allocations: 105.9 kB / 15.74 MB, free: 5.996 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.001515/0.001516, allocations: 197 kB / 16.67 MB, free: 5.918 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.377/2.377, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 64.12 kB / 1.054 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8294, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods): time 0.005959/0.8354, allocations: 4.896 MB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009279/0.8447, allocations: 5.622 MB / 1.218 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.8459, allocations: 23.94 kB / 1.218 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.8496, allocations: 1.268 MB / 1.219 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003034/0.8526, allocations: 1.303 MB / 1.22 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.8559, allocations: 1.54 MB / 1.222 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.02361/0.8796, allocations: 17.07 MB / 1.238 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004391/0.88, allocations: 160.4 kB / 1.238 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.8816, allocations: 0.8254 MB / 1.239 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.8828, allocations: 0.8052 MB / 1.24 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.8831, allocations: 96 kB / 1.24 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.8849, allocations: 0.9164 MB / 1.241 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.8859, allocations: 0.9427 MB / 1.242 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.8874, allocations: 1.091 MB / 1.243 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.8919, allocations: 3.235 MB / 1.246 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.892, allocations: 0 / 1.246 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.544e-06/0.892, allocations: 0 / 1.246 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.503e-05/0.8921, allocations: 0 / 1.246 GB, free: 5.609 MB / 0.9669 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.007163/0.8992, allocations: 2.778 MB / 1.249 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.8993, allocations: 12.03 kB / 1.249 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.8994, allocations: 66.53 kB / 1.249 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/0.9041, allocations: 0.7345 MB / 1.25 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007928/0.9121, allocations: 4.607 MB / 1.254 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.9122, allocations: 40.52 kB / 1.254 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.9124, allocations: 52 kB / 1.254 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.9145, allocations: 0.8257 MB / 1.255 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.9146, allocations: 3.984 kB / 1.255 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.9146, allocations: 12 kB / 1.255 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.9147, allocations: 4 kB / 1.255 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.9175, allocations: 0.8457 MB / 1.256 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008216/0.9258, allocations: 3.361 MB / 1.259 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.9289, allocations: 1.01 MB / 1.26 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.9303, allocations: 412.6 kB / 1.261 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/0.9304, allocations: 7.984 kB / 1.261 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.9304, allocations: 38.56 kB / 1.261 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 3.527e-06/0.9304, allocations: 0 / 1.261 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.005361/0.9358, allocations: 1.467 MB / 1.262 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.9359, allocations: 55.41 kB / 1.262 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006933/0.9428, allocations: 3.737 MB / 1.266 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.9432, allocations: 37.7 kB / 1.266 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.9443, allocations: 0.8261 MB / 1.267 GB, free: 412 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/0.9447, allocations: 146.2 kB / 1.267 GB, free: 264 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.9459, allocations: 0.5715 MB / 1.267 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.946, allocations: 305.1 kB / 1.268 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.9487, allocations: 1.475 MB / 1.269 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003124/0.9519, allocations: 1.927 MB / 1.271 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005136/0.957, allocations: 3.024 MB / 1.274 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.9571, allocations: 4 kB / 1.274 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007026/0.9641, allocations: 3.736 MB / 1.277 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.9642, allocations: 8 kB / 1.277 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.9642, allocations: 11.98 kB / 1.278 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.9643, allocations: 16 kB / 1.278 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.9662, allocations: 435.6 kB / 1.278 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-05/0.9662, allocations: 23.92 kB / 1.278 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.9689, allocations: 323.2 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003022/0.9692, allocations: 96.03 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003383/0.9726, allocations: 1.882 MB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002773/0.9754, allocations: 1.789 MB / 1.282 GB, free: 232 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004874/0.9803, allocations: 2.732 MB / 1.285 GB, free: 13.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.289e-05/0.9804, allocations: 0 / 1.285 GB, free: 13.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.007084/0.9875, allocations: 3.428 MB / 1.288 GB, free: 9.938 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.9875, allocations: 18.16 kB / 1.288 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.9876, allocations: 12 kB / 1.288 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.9876, allocations: 16 kB / 1.288 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.9895, allocations: 419.4 kB / 1.288 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/0.9895, allocations: 19.94 kB / 1.288 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.9923, allocations: 290.4 kB / 1.289 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003105/0.9927, allocations: 87.97 kB / 1.289 GB, free: 9.098 MB / 1.014 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.0005035/0.9932, allocations: 267.7 kB / 1.289 GB, free: 8.828 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007513/0.994, allocations: 224.8 kB / 1.289 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.9976, allocations: 1.112 MB / 1.29 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.9976, allocations: 4 kB / 1.29 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.9976, allocations: 3.984 kB / 1.29 GB, free: 7.477 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.9976, allocations: 0 / 1.29 GB, free: 7.477 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/1.001, allocations: 1.375 MB / 1.292 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.001, allocations: 0 / 1.292 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00098/1.002, allocations: 155.8 kB / 1.292 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/1.002, allocations: 4 kB / 1.292 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/1.002, allocations: 11.98 kB / 1.292 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.002, allocations: 4 kB / 1.292 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.002, allocations: 0 / 1.292 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/1.005, allocations: 1.193 MB / 1.293 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.007, allocations: 477.6 kB / 1.293 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006979/1.007, allocations: 15.98 kB / 1.293 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.009, allocations: 123.9 kB / 1.294 GB, free: 4.031 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.009, allocations: 19.97 kB / 1.294 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.713e-05/1.01, allocations: 27.97 kB / 1.294 GB, free: 3.984 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004783/1.014, allocations: 2.529 MB / 1.296 GB, free: 1.457 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.61e-07/1.014, allocations: 4 kB / 1.296 GB, free: 1.453 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00401/1.018, allocations: 0.949 MB / 1.297 GB, free: 0.5039 MB / 1.014 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.005041/1.024, allocations: 2.03 MB / 1.299 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008855/1.032, allocations: 4.033 MB / 1.303 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.032, allocations: 3.938 kB / 1.303 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/1.034, allocations: 456 kB / 1.303 GB, free: 9.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/1.039, allocations: 0.9329 MB / 1.304 GB, free: 9.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04841/1.087, allocations: 23.46 MB / 1.327 GB, free: 1.191 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.089, allocations: 1.665 MB / 1.329 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002835/1.092, allocations: 0.75 MB / 1.33 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/1.094, allocations: 0.9014 MB / 1.33 GB, free: 13.84 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/1.094, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.085/2.179, allocations: 68.03 MB / 1.397 GB, free: 10.59 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/16.82, allocations: 10.45 kB / 1.397 GB, free: 10.58 MB / 1.123 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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